From 3105c27bd7d42ee55c55650f83c7fc3483188b82 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 17 Oct 2017 15:02:53 +0300 Subject: Add support for --fetch-timeout option --- bpkg/common.cli | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bpkg/common.cli') diff --git a/bpkg/common.cli b/bpkg/common.cli index 45d13d3..45d2c55 100644 --- a/bpkg/common.cli +++ b/bpkg/common.cli @@ -119,6 +119,18 @@ namespace bpkg \cb{wget}, and \cb{fetch}." } + size_t --fetch-timeout + { + "", + "The fetch program timeout. While the exact semantics of the value + depends on the fetch program used, at a minimum it specifies in + seconds the maximum time that can be spent without any network + activity. Specifically, it is translated to the \cb{--max-time} + option for \cb{curl} and to the \cb{--timeout} option for \cb{wget} + and \cb{fetch}. See \cb{--fetch} for more information on the fetch + program." + } + strings --fetch-option { "", -- cgit v1.1