From 0022c6b4a608b26d24a8240d01c2252b1808aeba Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 20 Jun 2015 17:26:23 +0300 Subject: [PATCH] Update check repositories --- slpkg/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/slpkg/main.py b/slpkg/main.py index 4c6d37be..01152f97 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -216,6 +216,9 @@ class ArgParse(object): Updates(repo="").ALL() else: Updates(self.args[1]).run() + 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: usage("")