summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2024-03-29 10:19:10 +0100
committerGitHub <noreply@github.com>2024-03-29 10:19:10 +0100
commitd390ee190251870aa9c64f897ee255f7b8ad19a1 (patch)
tree12529d7aa1ca2ca59f0453bfcc11633c5cf8e19a /share
parent4f9fe6f9bf07333e7eaa282153068c24497fcdaa (diff)
downloadspack-d390ee190251870aa9c64f897ee255f7b8ad19a1.tar.gz
spack-d390ee190251870aa9c64f897ee255f7b8ad19a1.tar.bz2
spack-d390ee190251870aa9c64f897ee255f7b8ad19a1.tar.xz
spack-d390ee190251870aa9c64f897ee255f7b8ad19a1.zip
spack load: remove --only argument (#42120)
The argument was deprecated in v0.21 and slated for removal in v0.22.
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash2
-rwxr-xr-xshare/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 e76f757f19..d0abb53d78 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -1356,7 +1356,7 @@ _spack_list() {
_spack_load() {
if $list_options
then
- SPACK_COMPREPLY="-h --help --sh --csh --fish --bat --pwsh --first --only --list"
+ SPACK_COMPREPLY="-h --help --sh --csh --fish --bat --pwsh --first --list"
else
_installed_packages
fi
diff --git a/share/spack/spack-completion.fish b/share/spack/spack-completion.fish
index a8ff367416..d8399955be 100755
--- a/share/spack/spack-completion.fish
+++ b/share/spack/spack-completion.fish
@@ -2091,7 +2091,7 @@ complete -c spack -n '__fish_spack_using_command list' -l update -r -f -a update
complete -c spack -n '__fish_spack_using_command list' -l update -r -d 'write output to the specified file, if any package is newer'
# spack load
-set -g __fish_spack_optspecs_spack_load h/help sh csh fish bat pwsh first only= list
+set -g __fish_spack_optspecs_spack_load h/help sh csh fish bat pwsh first list
complete -c spack -n '__fish_spack_using_command_pos_remainder 0 load' -f -a '(__fish_spack_installed_specs)'
complete -c spack -n '__fish_spack_using_command load' -s h -l help -f -a help
complete -c spack -n '__fish_spack_using_command load' -s h -l help -d 'show this help message and exit'
@@ -2107,8 +2107,6 @@ complete -c spack -n '__fish_spack_using_command load' -l pwsh -f -a shell
complete -c spack -n '__fish_spack_using_command load' -l pwsh -d 'print pwsh commands to load the package'
complete -c spack -n '__fish_spack_using_command load' -l first -f -a load_first
complete -c spack -n '__fish_spack_using_command load' -l first -d 'load the first match if multiple packages match the spec'
-complete -c spack -n '__fish_spack_using_command load' -l only -r -f -a 'package dependencies'
-complete -c spack -n '__fish_spack_using_command load' -l only -r -d 'select whether to load the package and its dependencies'
complete -c spack -n '__fish_spack_using_command load' -l list -f -a list
complete -c spack -n '__fish_spack_using_command load' -l list -d 'show loaded packages: same as `spack find --loaded`'