diff options
-rw-r--r-- | API.txt | 2 | ||||
-rw-r--r-- | ipalib/plugins/cert.py | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -315,7 +315,7 @@ output: Output('result', <type 'dict'>, Gettext('Dictionary mapping variable nam command: cert_revoke args: 1,1,1 arg: Str('serial_number', validate_serial_number, label=Gettext('Serial number', domain='ipa', localedir=None), normalizer=normalize_serial_number) -option: Int('revocation_reason?', default=0, label=Gettext('Reason', domain='ipa', localedir=None), maxvalue=10, minvalue=0) +option: Int('revocation_reason?', autofill=True, default=0, label=Gettext('Reason', domain='ipa', localedir=None), maxvalue=10, minvalue=0) output: Output('result', None, None) command: cert_show args: 1,1,1 diff --git a/ipalib/plugins/cert.py b/ipalib/plugins/cert.py index 643e1cdd2..2c8ab4992 100644 --- a/ipalib/plugins/cert.py +++ b/ipalib/plugins/cert.py @@ -536,6 +536,7 @@ class cert_revoke(VirtualCommand): minvalue=0, maxvalue=10, default=0, + autofill=True ), ) |