]> granicus.if.org Git - curl/commitdiff
tool_help: clarify --max-time unit of time is seconds
authorJay Satiro <raysatiro@yahoo.com>
Sat, 21 Apr 2018 18:19:37 +0000 (14:19 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Sat, 21 Apr 2018 18:19:37 +0000 (14:19 -0400)
Before:
 -m, --max-time <time> Maximum time allowed for the transfer

After:
 -m, --max-time <seconds> Maximum time allowed for the transfer

docs/cmdline-opts/max-time.d
src/tool_help.c

index c22343d32ec3143c4440dc01da50d483819cf72d..0057f9d0472fc79bbf24cb78c97840476ff45271 100644 (file)
@@ -1,6 +1,6 @@
 Long: max-time
 Short: m
-Arg: <time>
+Arg: <seconds>
 Help: Maximum time allowed for the transfer
 See-also: connect-timeout
 ---
index 4bd65269a975b01ed28c659994e66cdd050137f7..6f5ad08d4a29e926bb6896c3c1c3a3e5da2b4d95 100644 (file)
@@ -228,7 +228,7 @@ static const struct helptxt helptext[] = {
    "Maximum file size to download"},
   {"    --max-redirs <num>",
    "Maximum number of redirects allowed"},
-  {"-m, --max-time <time>",
+  {"-m, --max-time <seconds>",
    "Maximum time allowed for the transfer"},
   {"    --metalink",
    "Process given URLs as metalink XML file"},