File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ _cargo() {
8787 '--path=[local filesystem path to crate to add]: :_directories' \
8888 '--rev=[specific commit to use when adding from git]:commit' \
8989 '--tag=[tag to use when adding from git]:tag' \
90+ '--ignore-rust-version[Ignore rust-version specification in packages]' \
9091 '1: :_guard "^-*" "crate name"' \
9192 '*:args:_default'
9293 ;;
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ _cargo()
4949 local opt_targets=" --lib --bin --bins --example --examples --test --tests --bench --benches --all-targets"
5050
5151 local opt___nocmd=" $opt_common -V --version --list --explain"
52- local opt__add=" $opt_common -p --package --features --default-features --no-default-features $opt_mani --optional --no-optional --rename --dry-run --path --git --branch --tag --rev --registry --dev --build --target"
52+ local opt__add=" $opt_common -p --package --features --default-features --no-default-features $opt_mani --optional --no-optional --rename --dry-run --path --git --branch --tag --rev --registry --dev --build --target --ignore-rust-version "
5353 local opt__bench=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --target --no-run --no-fail-fast --target-dir --ignore-rust-version"
5454 local opt__build=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_parallel $opt_targets --message-format --target --release --profile --target-dir --ignore-rust-version"
5555 local opt__b=" $opt__build "
You can’t perform that action at this time.
0 commit comments