diff options
| author | Nadir Fejzic <nadirfejzo@gmail.com> | 2021-07-25 14:41:35 +0200 |
|---|---|---|
| committer | Nadir Fejzic <nadirfejzo@gmail.com> | 2021-07-25 14:41:35 +0200 |
| commit | f68629a5097122c65eea0d5239555f5396ff0863 (patch) | |
| tree | e12bb3d62a097e201edbc21bfafddea343cd17be | |
| parent | ea69a9d10a0c55160a3981dfae11b7197b50c11d (diff) | |
| download | rust-f68629a5097122c65eea0d5239555f5396ff0863.tar.gz rust-f68629a5097122c65eea0d5239555f5396ff0863.zip | |
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.
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 6bd4123ddeb..f79e70abc03 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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 |
