File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,11 @@ _cargo() {
163
163
help)
164
164
_cargo_cmds
165
165
;;
166
+ info)
167
+ _arguments -s -A "^--" $common $registry \
168
+ '--index=[specify registry index]:index' \
169
+ '*: :_guard "^-*" "crate"'
170
+ ;;
166
171
167
172
init)
168
173
_arguments -s -S $common $registry \
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ _cargo()
63
63
local opt__fix=" $opt_common $opt_pkg_spec $opt_feat $opt_mani $opt_parallel $opt_targets $opt_lock --release --target --message-format --broken-code --edition --edition-idioms --allow-no-vcs --allow-dirty --allow-staged --profile --target-dir --ignore-rust-version"
64
64
local opt__generate_lockfile=" $opt_common $opt_mani $opt_lock "
65
65
local opt__help=" $opt_help "
66
+ local opt__info=" $opt_common $opt_lock --registry --index"
66
67
local opt__init=" $opt_common $opt_lock --bin --lib --name --vcs --edition --registry"
67
68
local opt__install=" $opt_common $opt_feat $opt_parallel $opt_lock $opt_force --bin --bins --branch --debug --example --examples --git --list --path --rev --root --tag --version --registry --target --profile --no-track --ignore-rust-version"
68
69
local opt__locate_project=" $opt_common $opt_mani $opt_lock --message-format --workspace"
You can’t perform that action at this time.
0 commit comments