summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash10
1 files changed, 7 insertions, 3 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 36880dfdef..9e80306bd2 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -1042,9 +1042,9 @@ _spack_install() {
_spack_license() {
if $list_options
then
- SPACK_COMPREPLY="-h --help"
+ SPACK_COMPREPLY="-h --help --root"
else
- SPACK_COMPREPLY="list-files verify"
+ SPACK_COMPREPLY="list-files verify update-copyright-year"
fi
}
@@ -1053,7 +1053,11 @@ _spack_license_list_files() {
}
_spack_license_verify() {
- SPACK_COMPREPLY="-h --help --root"
+ SPACK_COMPREPLY="-h --help"
+}
+
+_spack_license_update_copyright_year() {
+ SPACK_COMPREPLY="-h --help"
}
_spack_list() {