summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-01-05 15:37:53 -0500
committerSimo Sorce <ssorce@redhat.com>2011-01-07 05:09:14 -0500
commit1fb2ccf1051fa578acd9f0819f5fe441f49fc281 (patch)
tree8e2afbf79b47408e36185292943c1ec083c11106 /ipalib
parent9232a478773ea06f31938d3d202a15d91c58034e (diff)
downloadfreeipa-1fb2ccf1051fa578acd9f0819f5fe441f49fc281.tar.gz
freeipa-1fb2ccf1051fa578acd9f0819f5fe441f49fc281.tar.xz
freeipa-1fb2ccf1051fa578acd9f0819f5fe441f49fc281.zip
Rename --ipaddr option of host-add command
The option is renamed to --ip-address to be consistent with ipa-replica-prepare. https://fedorahosted.org/freeipa/ticket/655
Diffstat (limited to 'ipalib')
-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 9cc997863..2abe70a12 100644
--- a/ipalib/plugins/host.py
+++ b/ipalib/plugins/host.py
@@ -269,7 +269,7 @@ class host_add(LDAPCreate):
Flag('no_reverse',
doc=_('skip reverse DNS detection'),
),
- Str('ipaddr?', validate_ipaddr,
+ Str('ip_address?', validate_ipaddr,
doc=_('Add the host to DNS with this IP address'),
),
)