aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argparser.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/argparser.py b/src/argparser.py
index c56b482..09cbfe6 100644
--- a/src/argparser.py
+++ b/src/argparser.py
@@ -288,12 +288,12 @@ class ArgParser():
for arg in self.__options:
if arg[0] == ArgParser.VARIADIC:
- varopt = self.opts[arg[1][4]]
+ varopt = self.opts[arg[4]]
if varopt is not None:
if varopt[0] is None:
- self.opts[arg[1][4]] = self.files
+ self.opts[arg[4]] = self.files
else:
- self.opts[arg[1][4]] = varopt + self.files
+ self.opts[arg[4]] = varopt + self.files
self.files = []
break