iroh icon indicating copy to clipboard operation
iroh copied to clipboard

unexpected argument '--rpc-port' found

Open antontranelis opened this issue 2 years ago • 4 comments

When I do the Quickstart and running iroh start --rpc-port 1111 there is this error:

error: unexpected argument '--rpc-port' found
Usage: iroh start [OPTIONS]
For more information, try '--help'.

Also the -c flag on the doc get command is not accepted resulting in

> doc get foo -c
error: unexpected argument '-c' found

is the Quickstart up to date?

iroh is version 0.12.0

antontranelis avatar Jan 20 '24 09:01 antontranelis

i think the Quickstart is referencing Version 0.6.0 of iroh, and the main repo is now at 0.12.0

to follow the Quickstart documentation use downloaded binary or cargo run from a git checkout v0.6.0

xraid avatar Jan 20 '24 10:01 xraid

The quickstart was just updated to the latest version, sorry about that https://github.com/n0-computer/iroh.computer/pull/103

dignifiedquire avatar Jan 22 '24 13:01 dignifiedquire

maybe also mention the command iroh console --startwhere node and console is in same invocation

xraid avatar Jan 22 '24 16:01 xraid

Reference to --rpc-port was missed in the configuration documentation. Added PR-139 to align.

david-potgieter avatar Jun 06 '24 03:06 david-potgieter