diff options
Diffstat (limited to 'src/feature/localquery.nim')
-rw-r--r-- | src/feature/localquery.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/feature/localquery.nim b/src/feature/localquery.nim index ccc1311..f8436cd 100644 --- a/src/feature/localquery.nim +++ b/src/feature/localquery.nim @@ -4,8 +4,7 @@ import "../wrapper/alpm" proc handleQueryOrphans*(args: seq[Argument], config: Config): int = - let (installed, orphans, _) = withAlpm(config.root, config.db, newSeq[string](), - config.arch, handle, dbs, errors): + let (installed, orphans, _) = withAlpmConfig(config, false, handle, dbs, errors): for e in errors: printError(config.color, e) queryUnrequired(handle, true, false, initSet[string]()) |