diff options
author | kitsunyan | 2018-06-09 19:26:16 +0000 |
---|---|---|
committer | kitsunyan | 2018-06-09 19:26:16 +0000 |
commit | 0b6c3e6732c5c0d5b6613d2fe450c3b7760c0827 (patch) | |
tree | 72fac7f0d47d7ef1683bc2be639fb3cea524ee17 /src/feature/syncsearch.nim | |
parent | 56e82963b465116af32231aa531e8f6344826eab (diff) |
Add support for "--disable-download-timeout" option
Diffstat (limited to 'src/feature/syncsearch.nim')
-rw-r--r-- | src/feature/syncsearch.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature/syncsearch.nim b/src/feature/syncsearch.nim index 7a9199d..9aa179e 100644 --- a/src/feature/syncsearch.nim +++ b/src/feature/syncsearch.nim @@ -11,7 +11,8 @@ proc handleSyncSearch*(args: seq[Argument], config: Config): int = else: let quiet = args.check(%%%"quiet") - let (aurPackages, aerrors) = findAurPackages(args.targets, config.aurRepo) + let (aurPackages, aerrors) = findAurPackages(args.targets, + config.aurRepo, config.downloadTimeout) for e in aerrors: printError(config.color, e) type Package = tuple[rpcInfo: RpcPackageInfo, installedVersion: Option[string]] |