diff --git a/slpkg/main.py b/slpkg/main.py index 4196c2ea..c2dbacd2 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -146,7 +146,7 @@ class ArgParse(BlackList): repos = self.args[1].split("=")[-1].split(",") for rp in repos: if rp not in self.meta.repositories: - repos.remove(rp) + usage(rp, 1) upgrade.run(repos) else: usage("", 1)