mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-07 08:46:21 +01:00
Fix packages
This commit is contained in:
parent
92b513cdf7
commit
6bd75dcb2c
1 changed files with 2 additions and 1 deletions
|
@ -531,12 +531,13 @@ class ArgParse(object):
|
|||
"""Find packages from all enabled repositories
|
||||
"""
|
||||
flag = []
|
||||
packages = self.args[1:]
|
||||
options = ["-F", "--FIND"]
|
||||
additional_options = ["--case-ins"]
|
||||
for arg in self.args:
|
||||
if arg in additional_options:
|
||||
flag.append(arg)
|
||||
self.args.remove(arg)
|
||||
packages = self.args[1:]
|
||||
if len(self.args) > 1 and self.args[0] in options:
|
||||
find_from_repos(packages, flag)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue