mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-07 17:24:57 +01:00
Fixed stderr error output
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
b6ffa5dde4
commit
6803c5aeb1
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ class ArgParse(BlackList):
|
||||||
break
|
break
|
||||||
if tag and tag not in colors:
|
if tag and tag not in colors:
|
||||||
print(f"\nslpkg: Error: Available colors {colors}\n")
|
print(f"\nslpkg: Error: Available colors {colors}\n")
|
||||||
raise SystemExit()
|
raise SystemExit(1)
|
||||||
if (len(self.args) == 3 and self.args[0] in options and
|
if (len(self.args) == 3 and self.args[0] in options and
|
||||||
self.args[1] in self.meta.repositories and tag in colors):
|
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()
|
||||||
|
|
Loading…
Reference in a new issue