This commit is contained in:
Dimitris Zlatanidis 2017-02-23 12:38:27 +02:00
parent ecbcebd70a
commit 4c2d5ad7d3

View file

@ -395,7 +395,7 @@ class ArgParse(object):
for f in flag: for f in flag:
if f in self.args: if f in self.args:
self.args.remove(f) self.args.remove(f)
# print usage message if wrong addition option # print usage message if wrong additional option
for arg in self.args: for arg in self.args:
if arg.startswith("--"): if arg.startswith("--"):
if arg not in additional_options: if arg not in additional_options: