Skip to content

Commit

Permalink
docs: add missing Arg tag to --stderr
Browse files Browse the repository at this point in the history
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 #6692
  • Loading branch information
bes-internal authored and jay committed Mar 4, 2021
1 parent dd81489 commit e1655b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/cmdline-opts/stderr.d
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Long: stderr
Arg: <file>
Help: Where to redirect stderr
See-also: verbose silent
Category: verbose
Expand Down
2 changes: 1 addition & 1 deletion src/tool_help.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e1655b2

Please sign in to comment.