-u addition: If you just give the user name (without entering a colon) curl

will prompt for a password. Denis Bredelet pointed out!
This commit is contained in:
Daniel Stenberg 2007-12-14 11:19:56 +00:00
parent 26115aac5d
commit ee52ae001c

View File

@ -1153,6 +1153,9 @@ If this option is used several times, each occurrence will toggle it on/off.
Specify user and password to use for server authentication. Overrides
\fI-n/--netrc\fP and \fI--netrc-optional\fP.
If you just give the user name (without entering a colon) curl will prompt for
a password.
If you use an SSPI-enabled curl binary and do NTLM authentication, you can
force curl to pick up the user name and password from your environment by
simply specifying a single colon with this option: "-u :".