Fixed option

This commit is contained in:
Dimitris Zlatanidis 2023-04-03 21:23:03 +03:00
parent bf8e845f67
commit a660c7958b
2 changed files with 5 additions and 1 deletions

View file

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

View file

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