mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-03 06:56:44 +01:00
Update positions arguments
This commit is contained in:
parent
7c89391ac7
commit
f7de69ff0b
1 changed files with 4 additions and 4 deletions
|
@ -392,10 +392,10 @@ class ArgParse(object):
|
|||
"--checklist",
|
||||
"--case-ins"
|
||||
]
|
||||
for arg in self.args[2:]:
|
||||
if arg in additional_options:
|
||||
flag.append(arg)
|
||||
self.args.remove(arg)
|
||||
for add in additional_options:
|
||||
if add in self.args:
|
||||
flag.append(add)
|
||||
self.args.remove(add)
|
||||
if (len(self.args) == 2 and self.args[0] in options and
|
||||
"sbo" in self.meta.repositories):
|
||||
SBoNetwork(self.args[1], flag).view()
|
||||
|
|
Loading…
Reference in a new issue