Geal / cargo-real-deps

Cargo subcommand to check which crates are built depending on features
5 stars 3 forks source link

Wrong command syntax in readme #2

Open dtolnay opened 3 years ago

dtolnay commented 3 years ago

The readme shows CLI syntax that looks like:

https://github.com/Geal/cargo-real-deps/blob/afefa180430442eb0cd8490357be323d0e5295d6/README.md#L16

However, it appears that's incompatible with the published cargo-real-deps crate which wants the Cargo.toml path as a flag rather than positional argument.

$ cargo-real-deps Cargo.toml 
error: Found argument 'Cargo.toml' which wasn't expected, or isn't valid in this context

USAGE:
    cargo-real-deps [FLAGS] [OPTIONS] --path <path>

For more information try --help