diff --git a/src/etc/_cargo b/src/etc/_cargo index 8a257387e..1ea295594 100644 --- a/src/etc/_cargo +++ b/src/etc/_cargo @@ -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]" \