mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-27 09:58:10 +01:00
Renamed to --repos flag
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
f9a2a983a9
commit
7f68aafe39
3 changed files with 8 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue