mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
14 lines
438 B
Makefile
14 lines
438 B
Makefile
Long: basic
|
|
Help: Use HTTP Basic Authentication
|
|
See-also: proxy-basic
|
|
Protocols: HTTP
|
|
Category: auth
|
|
Example: -u name:password --basic $URL
|
|
---
|
|
Tells curl to use HTTP Basic authentication with the remote host. This is the
|
|
default and this option is usually pointless, unless you use it to override a
|
|
previously set option that sets a different authentication method (such as
|
|
--ntlm, --digest, or --negotiate).
|
|
|
|
Used together with --user.
|