diff options
author | Martin Basti <mbasti@redhat.com> | 2016-06-02 08:07:12 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-06-02 09:37:52 +0200 |
commit | 5c58751d72de27eae2181f2c0e620df03f8dbc82 (patch) | |
tree | e1bfaad7f57e72efb084a5602e726d581ff7c0f3 /ipalib | |
parent | 05c8808c76c39d697008912477dc45a76409ac67 (diff) | |
download | freeipa-5c58751d72de27eae2181f2c0e620df03f8dbc82.tar.gz freeipa-5c58751d72de27eae2181f2c0e620df03f8dbc82.tar.xz freeipa-5c58751d72de27eae2181f2c0e620df03f8dbc82.zip |
Fix: replace incorrect no_cli with no_option flag
The 'no_cli' is not valid flag in parameters scope, so to hide option from
CLI 'no_option' flag should be used
https://fedorahosted.org/freeipa/ticket/4995
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/plugins/baseldap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py index 9c77fd62e..bbd8ba146 100644 --- a/ipalib/plugins/baseldap.py +++ b/ipalib/plugins/baseldap.py @@ -1911,7 +1911,7 @@ class LDAPSearch(BaseLDAPCommand, crud.Search): # no_members are always true for find commands, do not # show option in CLI but keep API compatibility option = option.clone( - default=True, flags=option.flags | {"no_cli"}) + default=True, flags=option.flags | {"no_option"}) yield option if self.obj.primary_key and \ 'no_output' not in self.obj.primary_key.flags: |