summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Varlamov <bes.internal@gmail.com>2021-03-04 23:39:47 +0300
committerJay Satiro <raysatiro@yahoo.com>2021-03-04 18:01:55 -0500
commite1655b2477e4ccc0104a007464d3f92319a89508 (patch)
treeed4fd61e0e561d341b6f6748e1fe915de061cf70
parentdd81489db9189494326e0d89427d22edcaf40ba5 (diff)
downloadcurl-e1655b2477e4ccc0104a007464d3f92319a89508.tar.gz
docs: add missing Arg tag to --stderr
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
-rw-r--r--docs/cmdline-opts/stderr.d1
-rw-r--r--src/tool_help.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/cmdline-opts/stderr.d b/docs/cmdline-opts/stderr.d
index 6da040159..1154efb33 100644
--- a/docs/cmdline-opts/stderr.d
+++ b/docs/cmdline-opts/stderr.d
@@ -1,4 +1,5 @@
Long: stderr
+Arg: <file>
Help: Where to redirect stderr
See-also: verbose silent
Category: verbose
diff --git a/src/tool_help.c b/src/tool_help.c
index 0d1e4cd35..32893547d 100644
--- a/src/tool_help.c
+++ b/src/tool_help.c
@@ -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",