about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJacob Pratt <jacopratt@tesla.com>2024-01-30 17:45:13 -0500
committerblyxyas <blyxyas@gmail.com>2024-03-01 13:00:00 +0100
commitc5f819854c7886d4d32798e72bbad35ec2acda4f (patch)
treeae7c459079e8a4789dcf2e31aa8b48da75c98d05
parenteb300fdad40e4761ad061e4bca5c61f25356ba4b (diff)
Document manifest options
-rw-r--r--src/main.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index dffa854177b..30beaae34d2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -174,8 +174,13 @@ To allow or deny a lint from the command line you can use <cyan,bold>cargo clipp
 You can use tool lints to allow or deny lints from your code, e.g.:
 
     <yellow,bold>#[allow(clippy::needless_lifetimes)]</>
-"
-    )
+
+<green,bold>Manifest Options:</>
+    <cyan,bold>--manifest-path</> <cyan><<PATH>></>  Path to Cargo.toml
+    <cyan,bold>--frozen</>                Require Cargo.lock and cache are up to date
+    <cyan,bold>--locked</>                Require Cargo.lock is up to date
+    <cyan,bold>--offline</>               Run without accessing the network
+")
 }
 #[cfg(test)]
 mod tests {