aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-10-12 23:26:38 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-10-12 23:26:38 +0200
commit5df04bfafd13b641786892de95bd5c1f87059f1d (patch)
tree19d6b2d96d41548ee5b2b0b1184c4889644978de /src
parentd015f4ccac627852869cb45e31ccdc9fbd97dc47 (diff)
curl: rename --bearer to --oauth2-bearer
The option '--bearer' might be slightly ambiguous in name. It doesn't create any conflict that I am aware of at the moment, however, OAUTH v2 is not the only authentication mechanism which uses "bearer" tokens. Reported-by: Kyle L. Huff URL: http://curl.haxx.se/mail/lib-2013-10/0064.html
Diffstat (limited to 'src')
-rw-r--r--src/tool_getparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c
index 583a84162..6a405ff41 100644
--- a/src/tool_getparam.c
+++ b/src/tool_getparam.c
@@ -77,7 +77,7 @@ static const struct LongShort aliases[]= {
{"*6", "dns-ipv6-addr", TRUE},
{"*a", "random-file", TRUE},
{"*b", "egd-file", TRUE},
- {"*B", "bearer", TRUE},
+ {"*B", "oauth2-bearer", TRUE},
{"*c", "connect-timeout", TRUE},
{"*d", "ciphers", TRUE},
{"*D", "dns-interface", TRUE},