Fixed for update

This commit is contained in:
Dimitris Zlatanidis 2023-03-29 23:39:37 +03:00
parent 6b404ae992
commit 92717ea575

View file

@ -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: