summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAlec Scott <hi@alecbcs.com>2024-08-18 23:28:19 -0700
committerGitHub <noreply@github.com>2024-08-19 08:28:19 +0200
commit428b4e340a61610fb10f9843e4a66fca99a661a7 (patch)
treed5805c7efb6aa91ae5b282e45ab1c51fd5442d14 /share
parent20bf239a6acb9b17e0578bb8065a215ac7e4d7a8 (diff)
downloadspack-428b4e340a61610fb10f9843e4a66fca99a661a7.tar.gz
spack-428b4e340a61610fb10f9843e4a66fca99a661a7.tar.bz2
spack-428b4e340a61610fb10f9843e4a66fca99a661a7.tar.xz
spack-428b4e340a61610fb10f9843e4a66fca99a661a7.zip
Remove deprecated `--safe-only` in spack version cmd (#45765)
Diffstat (limited to 'share')
-rw-r--r--share/spack/spack-completion.bash2
-rw-r--r--share/spack/spack-completion.fish4
2 files changed, 2 insertions, 4 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 139715fef7..eba6b5a96d 100644
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -2022,7 +2022,7 @@ _spack_verify() {
_spack_versions() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -s --safe --safe-only -r --remote -n --new -j --jobs"
+ SPACK_COMPREPLY="-h --help -s --safe -r --remote -n --new -j --jobs"
else
_all_packages
fi
diff --git a/share/spack/spack-completion.fish b/share/spack/spack-completion.fish
index ae8f16e7b9..4a905d2ddd 100644
--- a/share/spack/spack-completion.fish
+++ b/share/spack/spack-completion.fish
@@ -3103,14 +3103,12 @@ complete -c spack -n '__fish_spack_using_command verify' -s f -l files -f -a typ
complete -c spack -n '__fish_spack_using_command verify' -s f -l files -d 'treat entries as absolute filenames'
# spack versions
-set -g __fish_spack_optspecs_spack_versions h/help s/safe safe-only r/remote n/new j/jobs=
+set -g __fish_spack_optspecs_spack_versions h/help s/safe r/remote n/new j/jobs=
complete -c spack -n '__fish_spack_using_command_pos 0 versions' -f -a '(__fish_spack_packages)'
complete -c spack -n '__fish_spack_using_command versions' -s h -l help -f -a help
complete -c spack -n '__fish_spack_using_command versions' -s h -l help -d 'show this help message and exit'
complete -c spack -n '__fish_spack_using_command versions' -s s -l safe -f -a safe
complete -c spack -n '__fish_spack_using_command versions' -s s -l safe -d 'only list safe versions of the package'
-complete -c spack -n '__fish_spack_using_command versions' -l safe-only -f -a safe_only
-complete -c spack -n '__fish_spack_using_command versions' -l safe-only -d '[deprecated] only list safe versions of the package'
complete -c spack -n '__fish_spack_using_command versions' -s r -l remote -f -a remote
complete -c spack -n '__fish_spack_using_command versions' -s r -l remote -d 'only list remote versions of the package'
complete -c spack -n '__fish_spack_using_command versions' -s n -l new -f -a new