@@ -43,40 +43,42 @@ _cargo()
4343 local opt_mani=' --manifest-path'
4444 local opt_jobs=' -j --jobs'
4545 local opt_force=' -f --force'
46- local opt_lock=' --frozen --locked'
46+ local opt_sync=' -s --sync'
47+ local opt_lock=' --frozen --locked --offline'
4748 local opt_targets=" --lib --bin --bins --example --examples --test --tests --bench --benches --all-targets"
4849
4950 local opt___nocmd=" $opt_common -V --version --list --explain"
5051 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"
51- local opt__build=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --target --release --target-dir"
52+ local opt__build=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --target --release --profile -- target-dir"
5253 local opt__check=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --target --release --profile --target-dir"
53- local opt__clean=" $opt_common $opt_pkg $opt_mani $opt_lock --target --release --doc --target-dir"
54- local opt__doc=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs --message-format --bin --bins --lib --target --open --no-deps --release --document-private-items --target-dir"
55- local opt__fetch=" $opt_common $opt_mani $opt_lock "
56- local opt__fix=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_jobs $opt_targets $opt_lock --release --target --message-format --prepare-for -- broken-code --edition --edition-idioms --allow-no-vcs --allow-dirty --allow-staged --profile --target-dir"
57- local opt__generate_lockfile=" ${opt__fetch} "
54+ local opt__clean=" $opt_common $opt_pkg $opt_mani $opt_lock --target --release --doc --target-dir --profile "
55+ local opt__doc=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_lock $opt_jobs --message-format --bin --bins --lib --target --open --no-deps --release --document-private-items --target-dir --profile "
56+ local opt__fetch=" $opt_common $opt_mani $opt_lock --target "
57+ local opt__fix=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_jobs $opt_targets $opt_lock --release --target --message-format --broken-code --edition --edition-idioms --allow-no-vcs --allow-dirty --allow-staged --profile --target-dir"
58+ local opt__generate_lockfile=" $opt_common $opt_mani $opt_lock "
5859 local opt__git_checkout=" $opt_common $opt_lock --reference --url"
5960 local opt__help=" $opt_help "
6061 local opt__init=" $opt_common $opt_lock --bin --lib --name --vcs --edition --registry"
61- local opt__install=" $opt_common $opt_feat $opt_jobs $opt_lock $opt_force --bin --bins --branch --debug --example --examples --git --list --path --rev --root --tag --version --registry --target"
62- local opt__locate_project=" $opt_mani -h --help "
63- local opt__login=" $opt_common $opt_lock --host -- registry"
64- local opt__metadata=" $opt_common $opt_feat $opt_mani $opt_lock --format-version=1 --no-deps"
62+ local opt__install=" $opt_common $opt_feat $opt_jobs $opt_lock $opt_force --bin --bins --branch --debug --example --examples --git --list --path --rev --root --tag --version --registry --target --profile --no-track "
63+ local opt__locate_project=" $opt_common $ opt_mani $opt_lock "
64+ local opt__login=" $opt_common $opt_lock --registry"
65+ local opt__metadata=" $opt_common $opt_feat $opt_mani $opt_lock --format-version=1 --no-deps --filter-platform "
6566 local opt__new=" $opt_common $opt_lock --vcs --bin --lib --name --edition --registry"
6667 local opt__owner=" $opt_common $opt_lock -a --add -r --remove -l --list --index --token --registry"
6768 local opt__package=" $opt_common $opt_mani $opt_feat $opt_lock $opt_jobs --allow-dirty -l --list --no-verify --no-metadata --target --target-dir"
68- local opt__pkgid=" ${opt__fetch} $opt_pkg "
69- local opt__publish=" $opt_common $opt_mani $opt_feat $opt_lock $opt_jobs --allow-dirty --dry-run --host --token --no-verify --index --registry --target --target-dir"
70- local opt__read_manifest=" $opt_help $opt_quiet $opt_verbose $opt_mani $opt_color "
71- local opt__run=" $opt_common $opt_pkg $opt_feat $opt_mani $opt_lock $opt_jobs --message-format --target --bin --example --release --target-dir"
72- local opt__rustc=" $opt_common $opt_pkg $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --profile --target --release --target-dir"
73- local opt__rustdoc=" $opt_common $opt_pkg $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --target --release --open --target-dir"
74- local opt__search=" $opt_common $opt_lock --host --limit --index --limit --registry"
75- 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"
76- local opt__uninstall=" $opt_common $opt_lock $opt_pkg_spec --bin --root"
77- local opt__update=" $opt_common $opt_pkg_spec $opt_mani $opt_lock --aggressive --precise --dry-run"
78- local opt__verify_project=" ${opt__fetch} "
79- local opt__version=" $opt_help $opt_verbose $opt_color "
69+ local opt__pkgid=" $opt_common $opt_mani $opt_lock $opt_pkg "
70+ local opt__publish=" $opt_common $opt_mani $opt_feat $opt_lock $opt_jobs --allow-dirty --dry-run --token --no-verify --index --registry --target --target-dir"
71+ local opt__read_manifest=" $opt_help $opt_quiet $opt_verbose $opt_mani $opt_color $opt_lock --no-deps"
72+ local opt__run=" $opt_common $opt_pkg $opt_feat $opt_mani $opt_lock $opt_jobs --message-format --target --bin --example --release --target-dir --profile"
73+ local opt__rustc=" $opt_common $opt_pkg $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets -L --crate-type --extern --message-format --profile --target --release --target-dir"
74+ local opt__rustdoc=" $opt_common $opt_pkg $opt_feat $opt_mani $opt_lock $opt_jobs $opt_targets --message-format --target --release --open --target-dir --profile"
75+ local opt__search=" $opt_common $opt_lock --limit --index --registry"
76+ 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"
77+ local opt__uninstall=" $opt_common $opt_lock $opt_pkg --bin --root"
78+ local opt__update=" $opt_common $opt_mani $opt_lock $opt_pkg --aggressive --precise --dry-run"
79+ local opt__vendor=" $opt_common $opt_mani $opt_lock $opt_sync --no-delete --respect-source-config --versioned-dirs"
80+ local opt__verify_project=" $opt_common $opt_mani $opt_lock "
81+ local opt__version=" $opt_common $opt_lock "
8082 local opt__yank=" $opt_common $opt_lock --vers --undo --index --token --registry"
8183 local opt__libtest=" --help --include-ignored --ignored --test --bench --list --logfile --nocapture --test-threads --skip -q --quiet --exact --color --format"
8284
0 commit comments