Skip to content

Commit

Permalink
Auto merge of #6985 - lzutao:zsh-cargo-check, r=ehuss
Browse files Browse the repository at this point in the history
zsh: Add --all-targets option to cargo-check and cargo-build

r? @ehuss
  • Loading branch information
bors committed May 27, 2019
2 parents edd8749 + 9d9ecf0 commit 47a4650
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/etc/_cargo
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ case $state in
_arguments \
'--features=[space separated feature list]' \
'--all-features[enable all available features]' \
'--all-targets[equivalent to specifying --lib --bins --tests --benches --examples]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \
"${command_scope_spec[@]}" \
Expand All @@ -65,6 +66,7 @@ case $state in
_arguments \
'--features=[space separated feature list]' \
'--all-features[enable all available features]' \
'--all-targets[equivalent to specifying --lib --bins --tests --benches --examples]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \
"${command_scope_spec[@]}" \
Expand Down

0 comments on commit 47a4650

Please sign in to comment.