mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Updated upgrade to work with options
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
b441fbd3b6
commit
bd8c6c6fac
2 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||||
|
|
|
@ -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())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue