summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Options.py2
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, [])