mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-19 10:27:07 +01:00
Fix arguments length
This commit is contained in:
parent
ba87846518
commit
b718ae57b0
1 changed files with 2 additions and 1 deletions
|
@ -378,7 +378,8 @@ class ArgParse(object):
|
|||
if arg not in additional_options:
|
||||
usage("")
|
||||
raise SystemExit()
|
||||
if (len(self.args) >= 3 and self.args[0] in options and
|
||||
if (len(self.args) >= 2 and len(self.args) <= 3 and
|
||||
self.args[0] in options and
|
||||
self.args[1] in self.meta.repositories):
|
||||
TrackingDeps(self.args[2], self.args[1], flag).run()
|
||||
elif (len(self.args) >= 2 and
|
||||
|
|
Loading…
Reference in a new issue