From deb896768f395dc535ad72715bad4339c97a6a8b Mon Sep 17 00:00:00 2001 From: Patrice Duc-Jacquet Date: Wed, 4 May 2016 09:25:57 +0200 Subject: 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 Reviewed-By: Gabe Alford --- ipalib/plugins/cert.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ipalib') 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, -- cgit