diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_getparam.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c index 4b9ae0653..e83373c37 100644 --- a/src/tool_getparam.c +++ b/src/tool_getparam.c @@ -601,6 +601,7 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */ break; case 'B': /* OAuth 2.0 bearer token */ GetStr(&config->oauth_bearer, nextarg); + config->authtype |= CURLAUTH_BEARER; break; case 'c': /* connect-timeout */ err = str2udouble(&config->connecttimeout, nextarg, |