summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/connect-timeout.d
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts/connect-timeout.d')
-rw-r--r--docs/cmdline-opts/connect-timeout.d4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/cmdline-opts/connect-timeout.d b/docs/cmdline-opts/connect-timeout.d
index fa3277221..e66e35adf 100644
--- a/docs/cmdline-opts/connect-timeout.d
+++ b/docs/cmdline-opts/connect-timeout.d
@@ -1,8 +1,10 @@
Long: connect-timeout
-Arg: <seconds>
+Arg: <fractional seconds>
Help: Maximum time allowed for connection
See-also: max-time
Category: connection
+Example: --connect-timeout 20 $URL
+Example: --connect-timeout 3.14 $URL
---
Maximum time in seconds that you allow curl's connection to take. This only
limits the connection phase, so if curl connects within the given period it