1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-21 19:01:07 +03:00

Plugins don't need to be in HELP_TOPICS

They're already added as topics automatically, though they do need to be in
the hand-written top level help.
This commit is contained in:
Peter Eckersley
2015-09-30 15:29:29 -07:00
parent 2d578468bd
commit d85f42d71f

View File

@@ -80,8 +80,8 @@ More detailed help:
-h, --help [topic] print this message, or detailed help on a topic;
the available topics are:
all, apache, automation, nginx, paths, security, testing, or any of the
subcommands
all, apache, automation, manual, nginx, paths, security, testing, or any of
the subcommands
"""
@@ -740,8 +740,7 @@ VERBS = {
"config_changes" : config_changes,
"plugins" : plugins_cmd
}
HELP_TOPICS = (["all", "security", "paths", "automation", "testing", "apache", "nginx"]
+ VERBS.keys())
HELP_TOPICS = ["all", "security", "paths", "automation", "testing"] + VERBS.keys()
def _create_subparsers(helpful):
subparsers = helpful.parser.add_subparsers(metavar="SUBCOMMAND")