mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +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:
|
if arg not in additional_options:
|
||||||
usage("")
|
usage("")
|
||||||
raise SystemExit()
|
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):
|
self.args[1] in self.meta.repositories):
|
||||||
TrackingDeps(self.args[2], self.args[1], flag).run()
|
TrackingDeps(self.args[2], self.args[1], flag).run()
|
||||||
elif (len(self.args) >= 2 and
|
elif (len(self.args) >= 2 and
|
||||||
|
|
Loading…
Add table
Reference in a new issue