Include more information in --help
`--no-deps` filled in with a little more information. Explain that `--fix` implies `--no-deps`. Explain that `--no-deps` is used with `cargo clippy --`, including one example.
This commit is contained in:
parent
f68629a509
commit
0e5802ef5d
@ -14,11 +14,13 @@ Usage:
|
||||
cargo clippy [options] [--] [<opts>...]
|
||||
|
||||
Common options:
|
||||
--fix Automatically apply lint suggestions
|
||||
--no-deps Run Clippy only on the given crate
|
||||
--no-deps Run Clippy only on the given crate, without linting the dependencies
|
||||
--fix Automatically apply lint suggestions. This flag implies `--no-deps`
|
||||
-h, --help Print this message
|
||||
-V, --version Print version info and exit
|
||||
|
||||
Note: --no-deps flag is used with `cargo clippy --`. Example: `cargo clippy -- --no-deps`
|
||||
|
||||
Other options are the same as `cargo check`.
|
||||
|
||||
To allow or deny a lint from the command line you can use `cargo clippy --`
|
||||
|
Loading…
x
Reference in New Issue
Block a user