summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-10-28 01:39:02 -0600
committerJason Gerard DeRose <jderose@redhat.com>2008-10-28 01:39:02 -0600
commit316bd855d5720f4babfb79d20c391de3f8958a60 (patch)
tree6a26cd36959390fabf00fe1bba9963e2d8f87c36 /ipalib/cli.py
parent2307d4ddd0409f00511c4d83ad7dab5e9d6d96df (diff)
downloadfreeipa-316bd855d5720f4babfb79d20c391de3f8958a60.tar.gz
freeipa-316bd855d5720f4babfb79d20c391de3f8958a60.tar.xz
freeipa-316bd855d5720f4babfb79d20c391de3f8958a60.zip
Added util.configure_logging() function; API.bootstrap() now calls util.configure_logging()
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 3613dfeb..6407e9e2 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -454,7 +454,7 @@ class CLI(object):
def parse(self, cmd):
parser = self.build_parser(cmd)
(kwc, args) = parser.parse_args(
- list(self.cmd_argv), KWCollector()
+ list(self.cmd_argv[1:]), KWCollector()
)
kw = kwc.__todict__()
try: