diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-01-08 01:12:07 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-01-08 01:12:07 +0000 |
commit | 3ac7454263931f22b2700e078544c6056cc71509 (patch) | |
tree | 40b63a1e11caae9f80411d01df6326f315a7a5a4 /src/lib | |
parent | a1ff440ca9e88b10c484d15d4db57d242038692b (diff) | |
download | bcfg2-3ac7454263931f22b2700e078544c6056cc71509.tar.gz bcfg2-3ac7454263931f22b2700e078544c6056cc71509.tar.bz2 bcfg2-3ac7454263931f22b2700e078544c6056cc71509.zip |
handle arguments properly
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4195 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Options.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Options.py b/src/lib/Options.py index 2fc8711cc..6f0dedc1e 100644 --- a/src/lib/Options.py +++ b/src/lib/Options.py @@ -116,6 +116,8 @@ class OptionSet(dict): self.helpExit('', 0) self['args'] = args for key in self.keys(): + if key == 'args': + continue option = self[key] if do_getopt: option.parse(opts, []) |