aboutsummaryrefslogtreecommitdiff
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.d5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/cmdline-opts/connect-timeout.d b/docs/cmdline-opts/connect-timeout.d
index fa3277221..89152baa3 100644
--- a/docs/cmdline-opts/connect-timeout.d
+++ b/docs/cmdline-opts/connect-timeout.d
@@ -1,8 +1,11 @@
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
+Added: 7.7
---
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