diff options
Diffstat (limited to 'src/feature/syncsource.nim')
-rw-r--r-- | src/feature/syncsource.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/feature/syncsource.nim b/src/feature/syncsource.nim index 2bc88ee..8096f02 100644 --- a/src/feature/syncsource.nim +++ b/src/feature/syncsource.nim @@ -162,8 +162,7 @@ proc handleSyncSource*(args: seq[Argument], config: Config): int = printError(config.color, trp("no targets specified (use -h for help)\n")) 1 else: - let (syncTargets, checkAurNames) = withAlpm(config.root, config.db, - config.dbs, config.arch, handle, dbs, errors): + let (syncTargets, checkAurNames) = withAlpmConfig(config, true, handle, dbs, errors): for e in errors: printError(config.color, e) findSyncTargets(handle, dbs, targets, false, false) |