summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-09-10 15:31:34 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-09-10 15:31:34 +0000
commit687f60356203a33b7af24842f24570a12d9b2039 (patch)
treeb95efea6d2ce1d512eb0fe30c567ec866606a779 /ipalib/cli.py
parentbde377a2da7bb264ee3188a5696bb389af51321d (diff)
downloadfreeipa-687f60356203a33b7af24842f24570a12d9b2039.tar.gz
freeipa-687f60356203a33b7af24842f24570a12d9b2039.tar.xz
freeipa-687f60356203a33b7af24842f24570a12d9b2039.zip
284: Removed depreciated Command.Option property; removed corresponding unit tests; updated affected code
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r--ipalib/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index 25a0a5b8..54693ffd 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -228,7 +228,7 @@ class CLI(object):
parser = optparse.OptionParser(
usage=self.get_usage(cmd),
)
- for option in cmd.Option():
+ for option in cmd.options():
parser.add_option('--%s' % to_cli(option.name),
metavar=option.type.name.upper(),
help=option.doc,