summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-09-01 11:40:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-09-01 11:42:09 +0200
commit120ccc8653ed95343699d99c27e27c71410f8b7a (patch)
tree3f6d11629f85fffeffe6fc2f6e54d71cb9295c50
parentad53b9a65f7f0c776909abd194ce13292341e139 (diff)
downloadcurl-bagder/curl-1-examples.tar.gz
fixup call it 'fractional seconds' for --max-time and --connect-timeoutbagder/curl-1-examples
-rw-r--r--docs/cmdline-opts/connect-timeout.d2
-rw-r--r--docs/cmdline-opts/max-time.d4
-rw-r--r--src/tool_help.c4
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: <seconds>
+Arg: <fractional seconds>
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: <seconds>
-Help: Maximum time allowed for the transfer
+Arg: <fractional seconds>
+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 <file>",
"Read config from a file",
CURLHELP_CURL},
- {" --connect-timeout <seconds>",
+ {" --connect-timeout <fractional seconds>",
"Maximum time allowed for connection",
CURLHELP_CONNECTION},
{" --connect-to <HOST1:PORT1:HOST2:PORT2>",
@@ -442,7 +442,7 @@ static const struct helptxt helptext[] = {
{" --max-redirs <num>",
"Maximum number of redirects allowed",
CURLHELP_HTTP},
- {"-m, --max-time <seconds>",
+ {"-m, --max-time <fractional seconds>",
"Maximum time allowed for the transfer",
CURLHELP_CONNECTION},
{" --metalink",