aboutsummaryrefslogtreecommitdiff
path: root/src/feature/localquery.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/localquery.nim')
-rw-r--r--src/feature/localquery.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/localquery.nim b/src/feature/localquery.nim
index d2beaa5..f4142ee 100644
--- a/src/feature/localquery.nim
+++ b/src/feature/localquery.nim
@@ -7,7 +7,7 @@ proc handleQueryOrphans*(args: seq[Argument], config: Config): int =
let (installed, orphans, _) = withAlpm(config.root, config.db, newSeq[string](),
config.arch, handle, dbs, errors):
for e in errors: printError(config.color, e)
- queryUnrequired(handle, true, false, @[])
+ queryUnrequired(handle, true, false, initSet[string]())
let targets = args.targets.map(t => (if t[0 .. 5] == "local/": t[6 .. ^1] else: t))