diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/spack-completion.bash | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index 362fe1e0bf..1edc262d0a 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -700,6 +700,16 @@ function _spack_log_parse { fi } +function _spack_maintainers { + if $list_options + then + compgen -W "-h --help -a --all --maintained --unmaintained + --by-user" -- "$cur" + else + compgen -W "$(_all_packages)" -- "$cur" + fi +} + function _spack_mirror { if $list_options then |