From ccb688f5752cadb78c113fd7803fe5597fd3ed25 Mon Sep 17 00:00:00 2001 From: Chris Green Date: Wed, 21 Aug 2019 19:11:24 -0500 Subject: Fix to option text for help command. (#12444) --- lib/spack/spack/cmd/help.py | 4 ++-- lib/spack/spack/main.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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 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'])) -- cgit v1.2.3-70-g09d2