mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
Fix recognition enabled and exist repository
This commit is contained in:
parent
f22a5d54e1
commit
03edc4bf89
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ class ArgParse(object):
|
|||
Updates(repo="").ALL()
|
||||
else:
|
||||
Updates(self.args[1]).run()
|
||||
elif (len(self.args) == 2 and self.args[0] in options and
|
||||
elif (len(self.args) >= 2 and self.args[0] in options and
|
||||
self.args[1] not in self.meta.repositories):
|
||||
usage(self.args[1])
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue