diff options
author | kitsunyan | 2018-04-18 20:55:35 +0000 |
---|---|---|
committer | kitsunyan | 2018-04-18 20:55:35 +0000 |
commit | 5460261110d5766e25fa086c5f52193070c60583 (patch) | |
tree | a2bb736b71cdfa815b0ded01b0d08a4daf00bbcc /src/feature/localquery.nim | |
parent | d884cac14c0dc2dfb713f2aa307d54fa32695ee4 (diff) |
Handle "--asdeps" and "--asexplicit" more accurately
Diffstat (limited to 'src/feature/localquery.nim')
-rw-r--r-- | src/feature/localquery.nim | 2 |
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)) |