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

This commit is contained in:
Peter Eckersley
2015-09-29 18:55:59 -07:00
parent 18dacc528d
commit 627fca37b4
+2 -2
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):