Make revocation_reason required when revoking a certificate.

This will prevent errors if an empty reason is provided and it is
set by default one doesn't have to always set it on the command-line.

https://fedorahosted.org/freeipa/ticket/2597
This commit is contained in:
Rob Crittenden
2012-04-04 14:57:22 -04:00
committed by Martin Kosek
parent 17a0738d2d
commit 51b34d5c42
3 changed files with 3 additions and 3 deletions

View File

@@ -433,7 +433,7 @@ output: Output('result', <type 'dict'>, None)
command: cert_revoke
args: 1,1,1
arg: Str('serial_number')
option: Int('revocation_reason?', autofill=True, default=0, maxvalue=10, minvalue=0)
option: Int('revocation_reason', autofill=True, default=0, maxvalue=10, minvalue=0)
output: Output('result', None, None)
command: cert_show
args: 1,1,1