summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/automember.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2012-08-03 03:04:58 -0400
committerMartin Kosek <mkosek@redhat.com>2012-08-03 10:18:30 +0200
commit9bfa905e722767de1c075e281012a152e7abc190 (patch)
tree0313b8c6585e833d265e3a23c6a37a255fb2bf0e /ipalib/plugins/automember.py
parentc58836f29dbff9bda9ecb307329fc11942b9d0e0 (diff)
downloadfreeipa-9bfa905e722767de1c075e281012a152e7abc190.tar.gz
freeipa-9bfa905e722767de1c075e281012a152e7abc190.tar.xz
freeipa-9bfa905e722767de1c075e281012a152e7abc190.zip
Add --{set,add,del}attr options to commands which are missing them.
ticket 2963
Diffstat (limited to 'ipalib/plugins/automember.py')
-rw-r--r--ipalib/plugins/automember.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/automember.py b/ipalib/plugins/automember.py
index bf4cb355c..7ccb0bb2f 100644
--- a/ipalib/plugins/automember.py
+++ b/ipalib/plugins/automember.py
@@ -233,7 +233,7 @@ class automember_add(LDAPCreate):
__doc__ = _("""
Add an automember rule.
""")
- takes_options = group_type
+ takes_options = LDAPCreate.takes_options + group_type
takes_args = automember_rule
msg_summary = _('Added automember rule "%(value)s"')
@@ -440,7 +440,7 @@ class automember_mod(LDAPUpdate):
Modify an automember rule.
""")
takes_args = automember_rule
- takes_options = group_type
+ takes_options = LDAPUpdate.takes_options + group_type
msg_summary = _('Modified automember rule "%(value)s"')
def execute(self, *keys, **options):