diff --git a/ChangeLog.txt b/ChangeLog.txt index ce3656c4..4116600a 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,8 +1,9 @@ -3.9.7 - 08/05/2022 +3.9.7 - 09/05/2022 Fixed: - Stderr error output Updated: - Improve dependencies resolve speed +- Renamed --repositories to --repos flag Bugfix: - Update custom repositories - Passing repositories manual diff --git a/slpkg/arguments.py b/slpkg/arguments.py index d4323289..a67f7a58 100644 --- a/slpkg/arguments.py +++ b/slpkg/arguments.py @@ -48,10 +48,10 @@ Usage: slpkg [COMMANDS|OPTIONS] {repository|package...} _Slackware package manager_______ Commands: - update, --repositories=[...] Run this command to update all + update, --repos=[...] Run this command to update all the packages lists. - upgrade, --repositories=[...] Delete and recreate all packages + upgrade, --repos=[...] Delete and recreate all packages lists. repo-add [repository name] [URL] Add custom repository. @@ -175,8 +175,8 @@ def usage(repo, stderr): """Usage: slpkg [COMMANDS|OPTIONS] {repository|package...} Commands: - [update, --repositories=[...]] - [upgrade, --repositories=[...]] + [update, --repos=[...]] + [upgrade, --repos=[...]] [repo-add [repository name] [URL]] [repo-remove [repository]] [repo-enable] diff --git a/slpkg/main.py b/slpkg/main.py index af803b51..2867ba57 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -130,7 +130,7 @@ class ArgParse(BlackList): if len(self.args) == 1 and self.args[0] == "update": update.run(repos="") elif (len(self.args) == 2 and self.args[0] == "update" and - self.args[1].startswith("--repositories=")): + self.args[1].startswith("--repos=")): repos = self.args[1].split("=")[-1].split(",") for rp in repos: if rp not in self.meta.repositories: @@ -146,7 +146,7 @@ class ArgParse(BlackList): if len(self.args) == 1 and self.args[0] == "upgrade": upgrade.run(repos="") elif (len(self.args) == 2 and self.args[0] == "upgrade" and - self.args[1].startswith("--repositories=")): + self.args[1].startswith("--repos=")): repos = self.args[1].split("=")[-1].split(",") for rp in repos: if rp not in self.meta.repositories: