From db0168f7afdac55eb7e0488cdc05e7a77a25672d Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Tue, 27 Jan 2009 16:28:50 -0700 Subject: Started reworking CLI class into cli plugin --- ipalib/util.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipalib/util.py') diff --git a/ipalib/util.py b/ipalib/util.py index 4a58d7fb..d9221605 100644 --- a/ipalib/util.py +++ b/ipalib/util.py @@ -120,6 +120,7 @@ def add_global_options(parser=None): """ if parser is None: parser = optparse.OptionParser() + parser.disable_interspersed_args() parser.add_option('-e', dest='env', metavar='KEY=VAL', action='append', help='Set environment variable KEY to VAL', ) -- cgit