mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Add --offline
to zsh common comp
This commit is contained in:
parent
098a148fab
commit
12d6725a6e
@ -12,6 +12,7 @@ _cargo() {
|
||||
'(-q --quiet)*'{-v,--verbose}'[use verbose output]'
|
||||
'(-q --quiet -v --verbose)'{-q,--quiet}'[no output printed to stdout]'
|
||||
'-Z+[pass unstable (nightly-only) flags to cargo]: :_cargo_unstable_flags'
|
||||
'--offline[run without accessing the network]'
|
||||
'--frozen[require that Cargo.lock and cache are up-to-date]'
|
||||
'--locked[require that Cargo.lock is up-to-date]'
|
||||
'--color=[specify colorization option]:coloring:(auto always never)'
|
||||
@ -75,7 +76,6 @@ _cargo() {
|
||||
{-F+,--features=}'[specify features to activate]:feature' \
|
||||
"--default-features[enable the default features]" \
|
||||
"--no-default-features[don't enable the default features]" \
|
||||
"--offline[run without accessing the network]" \
|
||||
"--optional[mark the dependency as optional]" \
|
||||
"--no-optional[mark the dependency as required]" \
|
||||
"--dev[add as a dev dependency]" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user