Updated upgrade to work with options

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-10-15 21:04:17 +03:00
parent b441fbd3b6
commit bd8c6c6fac
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
4.2.0 - 14/10/2022 4.2.0 - 14/10/2022
Updated: Updated:
- Moved option --download-only to commands - Moved option --download-only to commands
- Upgrade commands works with all options
4.1.9 - 14/10/2022 4.1.9 - 14/10/2022
Added: Added:

View file

@ -65,7 +65,7 @@ class Argparse:
usage(1) usage(1)
def upgrade(self): def upgrade(self):
if len(self.args) == 1 and not self.flags: if len(self.args) == 1:
upgrade = Upgrade() upgrade = Upgrade()
packages = list(upgrade.packages()) packages = list(upgrade.packages())