summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorPatrice Duc-Jacquet <patduc38@gmail.com>2016-05-04 09:25:57 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-02 10:40:54 +0200
commitdeb896768f395dc535ad72715bad4339c97a6a8b (patch)
tree9495c6bf6d7318dc65d1cf1b01efeef770519d6f /ipalib
parent5c58751d72de27eae2181f2c0e620df03f8dbc82 (diff)
downloadfreeipa-deb896768f395dc535ad72715bad4339c97a6a8b.tar.gz
freeipa-deb896768f395dc535ad72715bad4339c97a6a8b.tar.xz
freeipa-deb896768f395dc535ad72715bad4339c97a6a8b.zip
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>
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/cert.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipalib/plugins/cert.py b/ipalib/plugins/cert.py
index c97ca8866..816d84e8b 100644
--- a/ipalib/plugins/cert.py
+++ b/ipalib/plugins/cert.py
@@ -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,