mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
Explain flags missing in cargo check in --help
This commit closes #7389. As stated in the issue, `cargo clippy --help` provides explanation for some flags and states that the rest are same as in `cargo check --help`, even though some clippy specific flags exist. This commit extends the `cargo clippy --help` with two additional flags, - `cargo clippy --fix` - `cargo clippy --no-deps` If there are more flags which are not present in `cargo check --help` please bring these to my attention, I will include these aswell. For now, I noticed only the two flags mentioned above.
This commit is contained in:
parent
ea69a9d10a
commit
f68629a509
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ Usage:
|
|||
cargo clippy [options] [--] [<opts>...]
|
||||
|
||||
Common options:
|
||||
--fix Automatically apply lint suggestions
|
||||
--no-deps Run Clippy only on the given crate
|
||||
-h, --help Print this message
|
||||
-V, --version Print version info and exit
|
||||
|
||||
|
|
Loading…
Reference in a new issue