summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/host.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/host.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/host.py')
-rw-r--r--ipalib/plugins/host.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py
index 9680d7c02..e8967b8c0 100644
--- a/ipalib/plugins/host.py
+++ b/ipalib/plugins/host.py
@@ -364,7 +364,7 @@ class host_add(LDAPCreate):
has_output_params = LDAPCreate.has_output_params + host_output_params
msg_summary = _('Added host "%(value)s"')
member_attributes = ['managedby']
- takes_options = (
+ takes_options = LDAPCreate.takes_options + (
Flag('force',
label=_('Force'),
doc=_('force host name even if not in DNS'),