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

We didn't actually need to define --help as a verb

This commit is contained in:
Peter Eckersley
2015-09-29 18:18:18 -07:00
parent 18dacc528d
commit 627fca37b4

View File

@@ -732,10 +732,10 @@ def create_parser(plugins, args):
# For now unfortunately this constant just needs to match the code below;
# there isn't an elegant way to autogenerate it in time.
VERBS = ["run", "auth", "install", "revoke", "rollback", "config_changes",
"plugins", "--help", "-h"]
"plugins"]
HELP_TOPICS = (["all", "security", "paths", "automation", "testing", "apache", "nginx"] +
[v for v in VERBS if "-" not in v])
[v for v in VERBS])
def _create_subparsers(helpful):