Skip to content

Commit c5f8198

Browse files
Jacob Prattblyxyas
Jacob Pratt
authored andcommitted
Document manifest options
1 parent eb300fd commit c5f8198

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/main.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,13 @@ To allow or deny a lint from the command line you can use <cyan,bold>cargo clipp
174174
You can use tool lints to allow or deny lints from your code, e.g.:
175175
176176
<yellow,bold>#[allow(clippy::needless_lifetimes)]</>
177-
"
178-
)
177+
178+
<green,bold>Manifest Options:</>
179+
<cyan,bold>--manifest-path</> <cyan><<PATH>></> Path to Cargo.toml
180+
<cyan,bold>--frozen</> Require Cargo.lock and cache are up to date
181+
<cyan,bold>--locked</> Require Cargo.lock is up to date
182+
<cyan,bold>--offline</> Run without accessing the network
183+
")
179184
}
180185
#[cfg(test)]
181186
mod tests {

0 commit comments

Comments
 (0)