Skip to content

Commit 9634a3a

Browse files
committed
Auto merge of #6926 - lzutao:cargo-new-zshcomp, r=ehuss
zsh: Suggest --lib option as binary template now the default r? @ehuss
2 parents ceb1389 + c71bd22 commit 9634a3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/etc/_cargo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ case $state in
151151

152152
init)
153153
_arguments \
154-
'--bin[use binary template]' \
154+
'--lib[use library template]' \
155155
'--vcs:initialize a new repo with a given VCS:(git hg none)' \
156156
'(-h, --help)'{-h,--help}'[show help message]' \
157157
'--name=[set the resulting package name]' \
@@ -213,7 +213,7 @@ case $state in
213213

214214
new)
215215
_arguments \
216-
'--bin[use binary template]' \
216+
'--lib[use library template]' \
217217
'--vcs:initialize a new repo with a given VCS:(git hg none)' \
218218
'(-h, --help)'{-h,--help}'[show help message]' \
219219
'--name=[set the resulting package name]' \

0 commit comments

Comments
 (0)