summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-10-11 10:16:11 +0200
committerGitHub <noreply@github.com>2021-10-11 10:16:11 +0200
commitf28b08bf026169d94e4e1bee9874b55888762515 (patch)
tree0f6b092cf2d4392409d3120f0f3528c20b016ca3
parentad75f743345525101ab252213ff644d4121a7b31 (diff)
downloadspack-f28b08bf026169d94e4e1bee9874b55888762515.tar.gz
spack-f28b08bf026169d94e4e1bee9874b55888762515.tar.bz2
spack-f28b08bf026169d94e4e1bee9874b55888762515.tar.xz
spack-f28b08bf026169d94e4e1bee9874b55888762515.zip
Remove unused --dependencies flag (#25731)
-rw-r--r--lib/spack/spack/cmd/load.py2
-rwxr-xr-xshare/spack/spack-completion.bash2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/cmd/load.py b/lib/spack/spack/cmd/load.py
index 8bfeac7e69..ab8f88c7f5 100644
--- a/lib/spack/spack/cmd/load.py
+++ b/lib/spack/spack/cmd/load.py
@@ -21,7 +21,7 @@ def setup_parser(subparser):
"""Parser is only constructed so that this prints a nice help
message with -h. """
arguments.add_common_arguments(
- subparser, ['recurse_dependencies', 'installed_specs'])
+ subparser, ['installed_specs'])
shells = subparser.add_mutually_exclusive_group()
shells.add_argument(
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 131deade0b..33553d374f 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -1211,7 +1211,7 @@ _spack_list() {
_spack_load() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -r --dependencies --sh --csh --fish --first --only"
+ SPACK_COMPREPLY="-h --help --sh --csh --fish --first --only"
else
_installed_packages
fi