diff --git a/src/etc/_cargo b/src/etc/_cargo index 20d0608c2a3..1e942335a4e 100644 --- a/src/etc/_cargo +++ b/src/etc/_cargo @@ -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[@]}" \ @@ -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[@]}" \