Add --{set,add,del}attr options to commands which are missing them.

ticket 2963
This commit is contained in:
Jan Cholasta
2012-08-03 03:04:58 -04:00
committed by Martin Kosek
parent c58836f29d
commit 9bfa905e72
6 changed files with 23 additions and 11 deletions

View File

@@ -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'),