mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:35:50 +02:00
Revocation reason (#4987)
* fix revocation reason help text * add it to the docs * move and expand revoke reason example
This commit is contained in:
+3
-2
@@ -1156,9 +1156,10 @@ def _create_subparsers(helpful):
|
||||
" Currently --csr only works with the 'certonly' subcommand.")
|
||||
helpful.add("revoke",
|
||||
"--reason", dest="reason",
|
||||
choices=CaseInsensitiveList(constants.REVOCATION_REASONS.keys()),
|
||||
choices=CaseInsensitiveList(sorted(constants.REVOCATION_REASONS,
|
||||
key=constants.REVOCATION_REASONS.get)),
|
||||
action=_EncodeReasonAction, default=0,
|
||||
help="Specify reason for revoking certificate.")
|
||||
help="Specify reason for revoking certificate. (default: unspecified)")
|
||||
helpful.add("rollback",
|
||||
"--checkpoints", type=int, metavar="N",
|
||||
default=flag_default("rollback_checkpoints"),
|
||||
|
||||
Reference in New Issue
Block a user