diff options
author | kitsunyan | 2018-05-31 06:56:07 +0000 |
---|---|---|
committer | kitsunyan | 2018-05-31 06:56:07 +0000 |
commit | 6220a954ef32fec18258b4feab6494aa016764e0 (patch) | |
tree | fc03a22be13a1b46934f9a28bb1522bcc610a3a1 /src/feature/localquery.nim | |
parent | 5b5aa7c3968a4e36763edeb7d50b105a9248b39e (diff) |
Simplify alpm initialization
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]()) |