summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Green <greenc@fnal.gov>2019-08-21 19:11:24 -0500
committerPeter Scheibel <scheibel1@llnl.gov>2019-08-21 17:11:24 -0700
commitccb688f5752cadb78c113fd7803fe5597fd3ed25 (patch)
tree3c8faa78ef510d02853460802f216b8b2d160098 /lib
parent9ae6a07fe883d46acd6c62b0747e953fe4d2134c (diff)
downloadspack-ccb688f5752cadb78c113fd7803fe5597fd3ed25.tar.gz
spack-ccb688f5752cadb78c113fd7803fe5597fd3ed25.tar.bz2
spack-ccb688f5752cadb78c113fd7803fe5597fd3ed25.tar.xz
spack-ccb688f5752cadb78c113fd7803fe5597fd3ed25.zip
Fix to option text for help command. (#12444)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/help.py4
-rw-r--r--lib/spack/spack/main.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/spack/spack/cmd/help.py b/lib/spack/spack/cmd/help.py
index ab94320ca8..8178ef79ed 100644
--- a/lib/spack/spack/cmd/help.py
+++ b/lib/spack/spack/cmd/help.py
@@ -86,12 +86,12 @@ def setup_parser(subparser):
help_all_group = subparser.add_mutually_exclusive_group()
help_all_group.add_argument(
'-a', '--all', action='store_const', const='long', default='short',
- help='print all available commands')
+ help='list all available commands and options')
help_spec_group = subparser.add_mutually_exclusive_group()
help_spec_group.add_argument(
'--spec', action='store_const', dest='guide', const='spec',
- default=None, help='print all available commands')
+ default=None, help='help on the package specification syntax')
def help(parser, args):
diff --git a/lib/spack/spack/main.py b/lib/spack/spack/main.py
index 05c17067f9..de47076fe6 100644
--- a/lib/spack/spack/main.py
+++ b/lib/spack/spack/main.py
@@ -246,7 +246,7 @@ class SpackArgumentParser(argparse.ArgumentParser):
{help}:
spack help --all list all commands and options
spack help <command> help on a specific command
- spack help --spec help on the spec syntax
+ spack help --spec help on the package specification syntax
spack docs open http://spack.rtfd.io/ in a browser"""
.format(help=section_descriptions['help']))