From 5460261110d5766e25fa086c5f52193070c60583 Mon Sep 17 00:00:00 2001 From: kitsunyan Date: Wed, 18 Apr 2018 23:55:35 +0300 Subject: Handle "--asdeps" and "--asexplicit" more accurately --- src/feature/localquery.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/feature/localquery.nim') 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)) -- cgit v1.2.3-70-g09d2