aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-18 20:49:01 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-18 20:49:01 +0200
commitb6324c6fa625534b0b2adbff897039d1b68c6518 (patch)
treea9071f3ff765676e4d15ceadf08c73882b8158fd
parentupdate version (diff)
downloadargparser-b6324c6fa625534b0b2adbff897039d1b68c6518.tar.gz
argparser-b6324c6fa625534b0b2adbff897039d1b68c6518.tar.bz2
argparser-b6324c6fa625534b0b2adbff897039d1b68c6518.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/argparser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/argparser.py b/src/argparser.py
index 2034ece..0b9fcab 100644
--- a/src/argparser.py
+++ b/src/argparser.py
@@ -240,6 +240,7 @@ class ArgParser():
argqueue.append(arg[arg.index('=') + 1:])
if self.optmap[arg_opt][1] == ArgParser.VARIADIC:
dashed = True
+ self.optmap[arg_opt][2](arg_opt, self.optmap[arg_opt][0])
else:
self.optmap[arg_opt][2](arg_opt, self.optmap[arg_opt][0], argqueue[-1])
else: