aboutsummaryrefslogtreecommitdiff
path: root/src/feature/syncsearch.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/syncsearch.nim')
-rw-r--r--src/feature/syncsearch.nim2
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 =