mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
Fix typo
This commit is contained in:
parent
ecbcebd70a
commit
4c2d5ad7d3
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue