Skip to content

Commit f68629a

Browse files
committed
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.
1 parent ea69a9d commit f68629a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.rs

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Usage:
1414
cargo clippy [options] [--] [<opts>...]
1515
1616
Common options:
17+
--fix Automatically apply lint suggestions
18+
--no-deps Run Clippy only on the given crate
1719
-h, --help Print this message
1820
-V, --version Print version info and exit
1921

0 commit comments

Comments
 (0)