summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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']))