diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-06-16 11:30:36 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-06-16 11:30:36 +0200 |
commit | 2789e1ff2af5ff368ee4ff3ba3607eca2f2c10c4 (patch) | |
tree | 121ffc90cc934c9b791842b867bb3e0bf55e31de /src/tool_help.c | |
parent | de4c747544ebcaa0d5358418eb4a47879a15ccd4 (diff) | |
download | curl-bagder/avoid-binary-to-terminal.tar.gz |
curl: prevent binary output spewed to terminalbagder/avoid-binary-to-terminal
... unless "--output -" is used. Binary detection is done by simply
checking for a binary zero in early data.
Added test 1425 1426 to verify.
Closes #1512
Diffstat (limited to 'src/tool_help.c')
-rw-r--r-- | src/tool_help.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_help.c b/src/tool_help.c index 46aae4527..08a81f590 100644 --- a/src/tool_help.c +++ b/src/tool_help.c @@ -252,7 +252,7 @@ static const struct helptxt helptext[] = { "Use HTTP NTLM authentication"}, {" --ntlm-wb", "Use HTTP NTLM authentication with winbind"}, - {" --oauth2-bearer", + {" --oauth2-bearer <token>", "OAuth 2 Bearer Token"}, {"-o, --output <file>", "Write to file instead of stdout"}, |