cmds.pkg.CmdSelect: Fix argument order in select()
Argument ordering in the call to distro.select() is mixed up, the filter is mistaken for names, fix that.
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
fc3ac69bd4
commit
c9b48880a9
1 changed files with 1 additions and 1 deletions
|
|
@ -19,5 +19,5 @@ class CmdSelect(Cmd): # export
|
||||||
|
|
||||||
async def _run(self, args: Namespace) -> None:
|
async def _run(self, args: Namespace) -> None:
|
||||||
filter = PackageFilterString(args.filter) if args.filter else None
|
filter = PackageFilterString(args.filter) if args.filter else None
|
||||||
for p in await self.distro.select(filter):
|
for p in await self.distro.select(filter=filter):
|
||||||
print(p.name)
|
print(p.name)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue