On Sat, 12 Oct 2013, Dan Fandrich wrote:
If this were an option like --pass that could apply to several authentication types, then keeping it generic would make sense. But, IIRC, --bearer actually enables OAuth2 as well as providing a secret, so it seems better to me to be more specific in what the option is actually enabling. In that case, making the option more specific to OAuth2 sounds like a good idea.
I agree. Like --oauth2-bearer. I pushed a change to this effect right now - if anyone objects speak up!
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
