From e1655b2477e4ccc0104a007464d3f92319a89508 Mon Sep 17 00:00:00 2001 From: Vladimir Varlamov Date: Thu, 4 Mar 2021 23:39:47 +0300 Subject: [PATCH] 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 curl --help before: --stderr Where to redirect stderr curl --help after: --stderr Where to redirect stderr Closes https://github.com/curl/curl/pull/6692 --- docs/cmdline-opts/stderr.d | 1 + src/tool_help.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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: 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 ", "Where to redirect stderr", CURLHELP_VERBOSE}, {" --styled-output",