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/syncsearch.nim | |
parent | 5b5aa7c3968a4e36763edeb7d50b105a9248b39e (diff) |
Simplify alpm initialization
Diffstat (limited to 'src/feature/syncsearch.nim')
-rw-r--r-- | src/feature/syncsearch.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/syncsearch.nim b/src/feature/syncsearch.nim index 178a839..4d0eb50 100644 --- a/src/feature/syncsearch.nim +++ b/src/feature/syncsearch.nim @@ -18,7 +18,7 @@ proc handleSyncSearch*(args: seq[Argument], config: Config): int = if quiet: aurPackages.map(pkg => (pkg, none(string))) elif aurPackages.len > 0: - withAlpm(config.root, config.db, newSeq[string](), config.arch, handle, dbs, errors): + withAlpmConfig(config, false, handle, dbs, errors): for e in errors: printError(config.color, e) aurPackages.map(proc (rpcInfo: RpcPackageInfo): Package = |