diff --git a/ChangeLog.txt b/ChangeLog.txt index 4a091bec..7ec894c0 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +4.7.3 - 03/04/2023 +Fixed: +- Option -B for -u, update command + 4.7.2 - 02/04/2023 Updated: - Packaging parse versions diff --git a/slpkg/main.py b/slpkg/main.py index 576c79c1..28201dd5 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -368,7 +368,7 @@ class Argparse(Configs): self.binary_repo: str = arg.split('=')[1] self.args[self.args.index(arg)] = self.flag_bin_repository - if arg.startswith(self.flag_short_bin_repository) and len(self.args) > 3: + if arg.startswith(self.flag_short_bin_repository) and len(self.args) > 2: self.binary_repo: str = self.args[self.args.index(arg) + 1] self.args.remove(self.binary_repo)