commands: completion for new --update and --header options (#11566)
This commit is contained in:
parent
3ae5262182
commit
2a51e07fde
@ -243,7 +243,7 @@ function _spack_clone {
|
|||||||
function _spack_commands {
|
function _spack_commands {
|
||||||
if $list_options
|
if $list_options
|
||||||
then
|
then
|
||||||
compgen -W "-h --help --format" -- "$cur"
|
compgen -W "-h --help --format --header --update" -- "$cur"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -664,7 +664,7 @@ function _spack_license_verify {
|
|||||||
function _spack_list {
|
function _spack_list {
|
||||||
if $list_options
|
if $list_options
|
||||||
then
|
then
|
||||||
compgen -W "-h --help -d --search-description --format
|
compgen -W "-h --help -d --search-description --format --update
|
||||||
-t --tags" -- "$cur"
|
-t --tags" -- "$cur"
|
||||||
else
|
else
|
||||||
compgen -W "$(_all_packages)" -- "$cur"
|
compgen -W "$(_all_packages)" -- "$cur"
|
||||||
|
Loading…
Reference in New Issue
Block a user