cargo-crev icon indicating copy to clipboard operation
cargo-crev copied to clipboard

Tutorial command abbreviation error 'c v' for 'crate verify'

Open eugenesvk opened this issue 2 years ago • 4 comments

Was following the getting_started guide

Note: You can abbreviate most cargo-crev subcommands. For example: cargo crev c v.

but got the following error

> $RUST_BACKTRACE=1; cargo crev c v
error: The subcommand 'c' wasn't recognized

USAGE:
        cargo crev help <subcommands>...

For more information try --help

(cargo crev v, cargo crev verify, cargo crev crate verify all work)

  • If a command is failing try running it with RUST_BACKTRACE=1 Done, see above
  • Paste the exact command and error and/or outputs (along with the backtrace) see above
  • Please let us know:
    • cargo-crev 0.23.2
    • installed by downloading this binary from your release page and moved it to ...cargo\bin
    • Windows 10

eugenesvk avatar Jul 24 '22 11:07 eugenesvk

Thanks! I did a quick edit to fix it.

dpc avatar Jul 25 '22 00:07 dpc

By the way, the cargo crev help <subcommands>... suggestion also doesn't seem to work, I get a similar error: The subcommand 'help' wasn't recognized, you actually need to pass --help

eugenesvk avatar Jul 25 '22 05:07 eugenesvk

Where's that suggestion exactly?

dpc avatar Jul 25 '22 16:07 dpc

it's in the console output in the original issue, copied below: I understand USAGE: as a suggestion on how to use a command

> $RUST_BACKTRACE=1; cargo crev c v
error: The subcommand 'c' wasn't recognized

USAGE:
        cargo crev help <subcommands>...

For more information try --help

eugenesvk avatar Jul 25 '22 17:07 eugenesvk