mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 19:42:02 +02:00
Document some particularities of the revoke subcommand (#3923)
* Document some particularities of the revoke subcommand * Add --test-cert to "run" help topic
This commit is contained in:
+5
-3
@@ -361,7 +361,8 @@ VERB_HELP = [
|
|||||||
}),
|
}),
|
||||||
("revoke", {
|
("revoke", {
|
||||||
"short": "Revoke a certificate specified with --cert-path",
|
"short": "Revoke a certificate specified with --cert-path",
|
||||||
"opts": "Options for revocation of certs"
|
"opts": "Options for revocation of certs",
|
||||||
|
"usage": "\n\n certbot revoke --cert-path /path/to/fullchain.pem [options]\n\n"
|
||||||
}),
|
}),
|
||||||
("rename", {
|
("rename", {
|
||||||
"short": "Change a certificate's name (for management purposes)",
|
"short": "Change a certificate's name (for management purposes)",
|
||||||
@@ -934,8 +935,9 @@ def prepare_and_parse_args(plugins, args, detect_defaults=False): # pylint: dis
|
|||||||
help="Silence all output except errors. Useful for automation via cron."
|
help="Silence all output except errors. Useful for automation via cron."
|
||||||
" Implies --non-interactive.")
|
" Implies --non-interactive.")
|
||||||
# overwrites server, handled in HelpfulArgumentParser.parse_args()
|
# overwrites server, handled in HelpfulArgumentParser.parse_args()
|
||||||
helpful.add("testing", "--test-cert", "--staging", action='store_true', dest='staging',
|
helpful.add(["testing", "revoke", "run"], "--test-cert", "--staging",
|
||||||
help='Use the staging server to obtain test (invalid) certs; equivalent'
|
action='store_true', dest='staging',
|
||||||
|
help='Use the staging server to obtain or revoke test (invalid) certs; equivalent'
|
||||||
' to --server ' + constants.STAGING_URI)
|
' to --server ' + constants.STAGING_URI)
|
||||||
helpful.add(
|
helpful.add(
|
||||||
"testing", "--debug", action="store_true",
|
"testing", "--debug", action="store_true",
|
||||||
|
|||||||
Reference in New Issue
Block a user