Autofill the default revocation reason

https://fedorahosted.org/freeipa/ticket/1514
This commit is contained in:
Rob Crittenden authored and Martin Kosek committed 2011-07-22 08:57:31 +02:00
1 parent 506cbaa1fb
commit abb5ee22d2
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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
+1
View File
@@ -536,6 +536,7 @@ class cert_revoke(VirtualCommand):
minvalue=0,
maxvalue=10,
default=0,
autofill=True
),
)