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:
Jan Lindemann 2026-05-02 07:14:34 +02:00
commit c9b48880a9
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -19,5 +19,5 @@ class CmdSelect(Cmd): # export
async def _run(self, args: Namespace) -> 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)