diff options
Diffstat (limited to 'src/mailman/commands/cli_help.py')
| -rw-r--r-- | src/mailman/commands/cli_help.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mailman/commands/cli_help.py b/src/mailman/commands/cli_help.py index 4cffaaf87..8b1b7e307 100644 --- a/src/mailman/commands/cli_help.py +++ b/src/mailman/commands/cli_help.py @@ -32,16 +32,16 @@ from mailman.interfaces.command import ICLISubCommand class Help: - """The `help` subcommand.""" + # Lowercase, to match argparse's default --help text. + """show this help message and exit""" implements(ICLISubCommand) - def add(self, parser, subparser): + name = 'help' + + def add(self, parser, command_parser): """See `ICLISubCommand`.""" self.parser = parser - help_parser = subparser.add_parser( - 'help', help=('show this help message and exit')) - help_parser.set_defaults(func=self.process) def process(self, args): """See `ICLISubCommand`.""" |
