From c5f819854c7886d4d32798e72bbad35ec2acda4f Mon Sep 17 00:00:00 2001 From: Jacob Pratt Date: Tue, 30 Jan 2024 17:45:13 -0500 Subject: [PATCH] Document manifest options --- src/main.rs | 9 +++++++-- 1 file 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 cargo clipp You can use tool lints to allow or deny lints from your code, e.g.: #[allow(clippy::needless_lifetimes)] -" - ) + +Manifest Options: + --manifest-path <> Path to Cargo.toml + --frozen Require Cargo.lock and cache are up to date + --locked Require Cargo.lock is up to date + --offline Run without accessing the network +") } #[cfg(test)] mod tests {