@@ -41,15 +41,16 @@ _cargo()
41
41
local opt_pkg=' -p --package'
42
42
local opt_feat=' -F --features --all-features --no-default-features'
43
43
local opt_mani=' --manifest-path'
44
- local opt_parallel=' -j --jobs --keep-going'
44
+ local opt_jobs=' -j --jobs'
45
+ local opt_parallel=" $opt_jobs --keep-going"
45
46
local opt_force=' -f --force'
46
47
local opt_sync=' -s --sync'
47
48
local opt_lock=' --frozen --locked --offline'
48
49
local opt_targets=" --lib --bin --bins --example --examples --test --tests --bench --benches --all-targets"
49
50
50
51
local opt___nocmd=" $opt_common -V --version --list --explain"
51
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__bench=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_parallel $opt_targets --message-format --target --no-run --no-fail-fast --target-dir --ignore-rust-version"
53
+ 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"
53
54
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"
54
55
local opt__b=" $opt__build "
55
56
local opt__check=" $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"
@@ -82,7 +83,7 @@ _cargo()
82
83
local opt__rustc=" $opt_common $opt_pkg $opt_feat $opt_mani $opt_lock $opt_parallel $opt_targets -L --crate-type --extern --message-format --profile --target --release --target-dir --ignore-rust-version"
83
84
local opt__rustdoc=" $opt_common $opt_pkg $opt_feat $opt_mani $opt_lock $opt_parallel $opt_targets --message-format --target --release --open --target-dir --profile --ignore-rust-version"
84
85
local opt__search=" $opt_common $opt_lock --limit --index --registry"
85
- local opt__test=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_parallel $opt_targets --message-format --doc --target --no-run --release --no-fail-fast --target-dir --profile --ignore-rust-version"
86
+ local opt__test=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --doc --target --no-run --release --no-fail-fast --target-dir --profile --ignore-rust-version"
86
87
local opt__t=" $opt__test "
87
88
local opt__tree=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock --target -i --invert --prefix --no-dedupe --duplicates -d --charset -f --format -e --edges"
88
89
local opt__uninstall=" $opt_common $opt_lock $opt_pkg --bin --root"
0 commit comments