about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/main.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index f79e70abc03..8685c08cefe 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -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 --`