From 92717ea575e6193534deb16527b07c8145819d92 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 29 Mar 2023 23:39:37 +0300 Subject: [PATCH] Fixed for update --- slpkg/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/main.py b/slpkg/main.py index beb2bba4..e8bcede9 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -288,7 +288,7 @@ class Argparse(Configs): self.usage.help_minimal(f"{self.prog_name}: invalid options '{', '.join(self.flags)}'") if self.binary_repo not in self.repos.binaries_repositories_dict.keys() \ - and self.binary_repo == '*' and not self.utils.is_option(['-s', 'search'], self.args): + and self.binary_repo == '*' and not self.utils.is_option(['-s', 'search', '-u', 'update'], self.args): self.usage.help_minimal(f"{self.prog_name}: invalid binary repository '{self.binary_repo}'") def invalid_options(self) -> None: