From e8b7af1ade5fb031d061f9c9ff948786fee33831 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 20 Jun 2015 04:18:11 +0300 Subject: [PATCH] Fix usage repo error --- slpkg/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/main.py b/slpkg/main.py index e5d2fa1e..054eb66d 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -420,7 +420,7 @@ class ArgParse(object): if self.args[1] in self.meta.repositories and tag in colors: PkgDesc(self.args[2], self.args[1], tag).view() else: - usage("") + usage(self.args[1]) elif (len(self.args) > 1 and self.args[0] in options and self.args[1] not in self.meta.repositories): usage(self.args[1])