Skip to content

Commit 12d6725

Browse files
committed
Add --offline to zsh common comp
1 parent 098a148 commit 12d6725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/_cargo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ _cargo() {
1212
'(-q --quiet)*'{-v,--verbose}'[use verbose output]'
1313
'(-q --quiet -v --verbose)'{-q,--quiet}'[no output printed to stdout]'
1414
'-Z+[pass unstable (nightly-only) flags to cargo]: :_cargo_unstable_flags'
15+
'--offline[run without accessing the network]'
1516
'--frozen[require that Cargo.lock and cache are up-to-date]'
1617
'--locked[require that Cargo.lock is up-to-date]'
1718
'--color=[specify colorization option]:coloring:(auto always never)'
@@ -75,7 +76,6 @@ _cargo() {
7576
{-F+,--features=}'[specify features to activate]:feature' \
7677
"--default-features[enable the default features]" \
7778
"--no-default-features[don't enable the default features]" \
78-
"--offline[run without accessing the network]" \
7979
"--optional[mark the dependency as optional]" \
8080
"--no-optional[mark the dependency as required]" \
8181
"--dev[add as a dev dependency]" \

0 commit comments

Comments
 (0)