summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2018-08-30 01:25:58 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2018-11-09 00:31:24 -0800
commit9ee2623486be865b90dd0d80a66b201114551236 (patch)
tree2338de3ae41c6a4901741ded696efc43c70055a8 /lib
parentc19000038bd7b56c08013b7063a2d891c845358a (diff)
downloadspack-9ee2623486be865b90dd0d80a66b201114551236.tar.gz
spack-9ee2623486be865b90dd0d80a66b201114551236.tar.bz2
spack-9ee2623486be865b90dd0d80a66b201114551236.tar.xz
spack-9ee2623486be865b90dd0d80a66b201114551236.zip
env: rename `spack env list` to `spack env status`
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/env.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/spack/spack/cmd/env.py b/lib/spack/spack/cmd/env.py
index f96aa8efeb..391b43c52f 100644
--- a/lib/spack/spack/cmd/env.py
+++ b/lib/spack/spack/cmd/env.py
@@ -32,7 +32,7 @@ subcommands = [
'remove',
'upgrade',
'concretize',
- 'list',
+ 'status',
'loads',
'relocate',
'stage',
@@ -217,15 +217,15 @@ def environment_relocate(args):
ev.write(environment)
-def setup_list_parser(subparser):
- """list specs in an environment"""
+def setup_status_parser(subparser):
+ """get install status of specs in an environment"""
arguments.add_common_arguments(
subparser,
['recurse_dependencies', 'long', 'very_long', 'install_status'])
-def environment_list(args):
- # TODO? option to list packages w/ multiple instances?
+def environment_status(args):
+ # TODO? option to show packages w/ multiple instances?
environment = ev.read(args.environment)
environment.list(
sys.stdout, recurse_dependencies=args.recurse_dependencies,