mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add more information regarding where to find revocation reason in "ipa cert_revoke -h" and "ipa cert_find -h".
According to review feedback, I changed the help message as follow
$ ipa cert_revoke -h
Usage: ipa [global-options] cert-revoke SERIAL-NUMBER [options]
Revoke a certificate.
Options:
-h, --help show this help message and exit
--revocation-reason=INT
Reason for revoking the certificate (0-10). Type "ipa
help cert" for revocation reason details.
https://fedorahosted.org/freeipa/ticket/5819
Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Gabe Alford <redhatrises@gmail.com>
This commit is contained in:
committed by
Martin Basti
parent
5c58751d72
commit
deb896768f
@@ -665,7 +665,8 @@ class cert_revoke(VirtualCommand):
|
||||
takes_options = (
|
||||
Int('revocation_reason',
|
||||
label=_('Reason'),
|
||||
doc=_('Reason for revoking the certificate (0-10)'),
|
||||
doc=_('Reason for revoking the certificate (0-10). Type '
|
||||
'"ipa help cert" for revocation reason details. '),
|
||||
minvalue=0,
|
||||
maxvalue=10,
|
||||
default=0,
|
||||
@@ -733,7 +734,8 @@ class cert_find(Command):
|
||||
),
|
||||
Int('revocation_reason?',
|
||||
label=_('Reason'),
|
||||
doc=_('Reason for revoking the certificate (0-10)'),
|
||||
doc=_('Reason for revoking the certificate (0-10). Type '
|
||||
'"ipa help cert" for revocation reason details.'),
|
||||
minvalue=0,
|
||||
maxvalue=10,
|
||||
autofill=False,
|
||||
|
||||
Reference in New Issue
Block a user