]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: add missing Arg tag to --stderr
authorVladimir Varlamov <bes.internal@gmail.com>
Thu, 4 Mar 2021 20:39:47 +0000 (23:39 +0300)
committerJay Satiro <raysatiro@yahoo.com>
Thu, 4 Mar 2021 23:01:55 +0000 (18:01 -0500)
Prior to this change the required argument was not shown.

curl.1 before: --stderr
curl.1 after: --stderr <file>

curl --help before:
     --stderr        Where to redirect stderr

curl --help after:
     --stderr <file>  Where to redirect stderr

Closes https://github.com/curl/curl/pull/6692

docs/cmdline-opts/stderr.d
src/tool_help.c

index 6da0401592c0c09283771f9d8d5ae778469fa72a..1154efb33283d137e495295e575e1cbe7c90fb9e 100644 (file)
@@ -1,4 +1,5 @@
 Long: stderr
+Arg: <file>
 Help: Where to redirect stderr
 See-also: verbose silent
 Category: verbose
index 0d1e4cd355939546b505229f035c67108fe399d5..32893547d8a495c605ec7294691d7b85a5bd3477 100644 (file)
@@ -742,7 +742,7 @@ static const struct helptxt helptext[] = {
   {"-3, --sslv3",
    "Use SSLv3",
    CURLHELP_TLS},
-  {"    --stderr",
+  {"    --stderr <file>",
    "Where to redirect stderr",
    CURLHELP_VERBOSE},
   {"    --styled-output",