mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-27 19:58:21 +01:00
Fix arguments and packages
This commit is contained in:
parent
2321a3fa49
commit
28485b7495
1 changed files with 3 additions and 3 deletions
|
@ -224,7 +224,7 @@ class ArgParse(object):
|
||||||
|
|
||||||
def pkg_tracking(self):
|
def pkg_tracking(self):
|
||||||
""" tracking package dependencies """
|
""" tracking package dependencies """
|
||||||
packages = self.args[2:]
|
packages = self.args[2]
|
||||||
options = ["-t", "--tracking"]
|
options = ["-t", "--tracking"]
|
||||||
if (len(self.args) == 3 and self.args[0] in options and
|
if (len(self.args) == 3 and self.args[0] in options and
|
||||||
self.args[1] in self.meta.repositories):
|
self.args[1] in self.meta.repositories):
|
||||||
|
@ -462,9 +462,9 @@ def main():
|
||||||
"-q": argparse.pkg_queue,
|
"-q": argparse.pkg_queue,
|
||||||
"--queue": argparse.pkg_queue,
|
"--queue": argparse.pkg_queue,
|
||||||
"-i": argparse.bin_install,
|
"-i": argparse.bin_install,
|
||||||
"--install": argparse.bin_install,
|
"--installpkg": argparse.bin_install,
|
||||||
"-u": argparse.bin_upgrade,
|
"-u": argparse.bin_upgrade,
|
||||||
"--install-new": argparse.bin_upgrade,
|
"--upgradepkg": argparse.bin_upgrade,
|
||||||
"-r": argparse.bin_remove,
|
"-r": argparse.bin_remove,
|
||||||
"--removepkg": argparse.bin_remove,
|
"--removepkg": argparse.bin_remove,
|
||||||
"-f": argparse.bin_find,
|
"-f": argparse.bin_find,
|
||||||
|
|
Loading…
Add table
Reference in a new issue