diff options
author | Jan Cholasta <jcholast@redhat.com> | 2016-06-15 08:02:30 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-06-15 14:03:51 +0200 |
commit | 448af06234030d171cd0cee654f970456d53e9e6 (patch) | |
tree | 4fc177dbf886d4459b72b0e755e99242f8910ac4 /ipalib | |
parent | 365d9737639f38e4252bdb0203760739ca7b1edc (diff) | |
download | freeipa-448af06234030d171cd0cee654f970456d53e9e6.tar.gz freeipa-448af06234030d171cd0cee654f970456d53e9e6.tar.xz freeipa-448af06234030d171cd0cee654f970456d53e9e6.zip |
dns, passwd: fix outputs of `dns_resolve` and `passwd` commands
Use proper output type for the `value` output of the commands.
https://fedorahosted.org/freeipa/ticket/4739
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/output.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ipalib/output.py b/ipalib/output.py index d8841129e..19dd9adad 100644 --- a/ipalib/output.py +++ b/ipalib/output.py @@ -211,3 +211,9 @@ standard_boolean = ( ) standard_value = standard_boolean + +simple_value = ( + summary, + Output('result', bool, _('True means the operation was successful')), + Output('value', unicode, flags=['no_display']), +) |