From 120ccc8653ed95343699d99c27e27c71410f8b7a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 1 Sep 2021 11:40:57 +0200 Subject: fixup call it 'fractional seconds' for --max-time and --connect-timeout --- docs/cmdline-opts/connect-timeout.d | 2 +- docs/cmdline-opts/max-time.d | 4 ++-- src/tool_help.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/cmdline-opts/connect-timeout.d b/docs/cmdline-opts/connect-timeout.d index cd53a7b8e..e66e35adf 100644 --- a/docs/cmdline-opts/connect-timeout.d +++ b/docs/cmdline-opts/connect-timeout.d @@ -1,5 +1,5 @@ Long: connect-timeout -Arg: +Arg: Help: Maximum time allowed for connection See-also: max-time Category: connection diff --git a/docs/cmdline-opts/max-time.d b/docs/cmdline-opts/max-time.d index 1827abe72..cb86fa9fc 100644 --- a/docs/cmdline-opts/max-time.d +++ b/docs/cmdline-opts/max-time.d @@ -1,7 +1,7 @@ Long: max-time Short: m -Arg: -Help: Maximum time allowed for the transfer +Arg: +Help: Maximum time allowed for transfer See-also: connect-timeout Category: connection Example: --max-time 10 $URL diff --git a/src/tool_help.c b/src/tool_help.c index 6dbfbae7c..cc23b12e2 100644 --- a/src/tool_help.c +++ b/src/tool_help.c @@ -169,7 +169,7 @@ static const struct helptxt helptext[] = { {"-K, --config ", "Read config from a file", CURLHELP_CURL}, - {" --connect-timeout ", + {" --connect-timeout ", "Maximum time allowed for connection", CURLHELP_CONNECTION}, {" --connect-to ", @@ -442,7 +442,7 @@ static const struct helptxt helptext[] = { {" --max-redirs ", "Maximum number of redirects allowed", CURLHELP_HTTP}, - {"-m, --max-time ", + {"-m, --max-time ", "Maximum time allowed for the transfer", CURLHELP_CONNECTION}, {" --metalink", -- cgit v1.2.1