diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-10-17 15:02:53 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-10-18 05:02:40 +0300 |
commit | 3105c27bd7d42ee55c55650f83c7fc3483188b82 (patch) | |
tree | ab5db30d0b882bd147318f9c7634584f79dd3da8 /bpkg/common.cli | |
parent | 1e69164d90f9882b2b90716346b363c25d1fd652 (diff) |
Add support for --fetch-timeout option
Diffstat (limited to 'bpkg/common.cli')
-rw-r--r-- | bpkg/common.cli | 12 |
1 files changed, 12 insertions, 0 deletions
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 + { + "<sec>", + "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 { "<opt>", |