mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 00:22:04 +02:00
We didn't actually need to define --help as a verb
This commit is contained in:
+2
-2
@@ -732,10 +732,10 @@ def create_parser(plugins, args):
|
|||||||
# For now unfortunately this constant just needs to match the code below;
|
# For now unfortunately this constant just needs to match the code below;
|
||||||
# there isn't an elegant way to autogenerate it in time.
|
# there isn't an elegant way to autogenerate it in time.
|
||||||
VERBS = ["run", "auth", "install", "revoke", "rollback", "config_changes",
|
VERBS = ["run", "auth", "install", "revoke", "rollback", "config_changes",
|
||||||
"plugins", "--help", "-h"]
|
"plugins"]
|
||||||
|
|
||||||
HELP_TOPICS = (["all", "security", "paths", "automation", "testing", "apache", "nginx"] +
|
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):
|
def _create_subparsers(helpful):
|
||||||
|
|||||||
Reference in New Issue
Block a user