mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Fix usage repo error
This commit is contained in:
parent
9fb9bade45
commit
e8b7af1ade
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ class ArgParse(object):
|
||||||
if self.args[1] in self.meta.repositories and tag in colors:
|
if self.args[1] in self.meta.repositories and tag in colors:
|
||||||
PkgDesc(self.args[2], self.args[1], tag).view()
|
PkgDesc(self.args[2], self.args[1], tag).view()
|
||||||
else:
|
else:
|
||||||
usage("")
|
usage(self.args[1])
|
||||||
elif (len(self.args) > 1 and self.args[0] in options and
|
elif (len(self.args) > 1 and self.args[0] in options and
|
||||||
self.args[1] not in self.meta.repositories):
|
self.args[1] not in self.meta.repositories):
|
||||||
usage(self.args[1])
|
usage(self.args[1])
|
||||||
|
|
Loading…
Reference in a new issue