sdk icon indicating copy to clipboard operation
sdk copied to clipboard

[Docs] Version option not working

Open acoglio opened this issue 3 years ago • 1 comments

📚 Documentation

The README of this repo says that aleo accepts a version option, but it doesn't appear to work:

...$ aleo -V
error: Found argument '-V' which wasn't expected, or isn't valid in this context

	If you tried to supply `-V` as a value rather than a flag, use `-- -V`

USAGE:
    aleo [OPTIONS] <SUBCOMMAND>

For more information try --help
...$ aleo --version
error: Found argument '--version' which wasn't expected, or isn't valid in this context

	Did you mean '--verbosity'?

	If you tried to supply `--version` as a value rather than a flag, use `-- --version`

USAGE:
    aleo --verbosity <VERBOSITY>

For more information try --help

acoglio avatar Aug 20 '22 04:08 acoglio

I see that this is documented under the account new subcommand, but I get the same result with that:

...$ aleo account new -V
error: Found argument '-V' which wasn't expected, or isn't valid in this context

	If you tried to supply `-V` as a value rather than a flag, use `-- -V`

USAGE:
    aleo account new [OPTIONS]

For more information try --help
...$ aleo account new --version
error: Found argument '--version' which wasn't expected, or isn't valid in this context

	If you tried to supply `--version` as a value rather than a flag, use `-- --version`

USAGE:
    aleo account new [OPTIONS]

For more information try --help

acoglio avatar Aug 20 '22 04:08 acoglio