Skip to content

Commit

Permalink
Auto merge of #6926 - lzutao:cargo-new-zshcomp, r=ehuss
Browse files Browse the repository at this point in the history
zsh: Suggest --lib option as binary template now the default

r? @ehuss
  • Loading branch information
bors committed May 12, 2019
2 parents ceb1389 + c71bd22 commit 9634a3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/etc/_cargo
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ case $state in

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

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

0 comments on commit 9634a3a

Please sign in to comment.