mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
ddaa85893d
gen.pl now generates a warning if the "See Also" field is not filled in for a command line option All command line options now provide one or more related options. 167 "See alsos" added! Closes #8019
18 lines
509 B
Makefile
18 lines
509 B
Makefile
Long: proto-default
|
|
Help: Use PROTOCOL for any URL missing a scheme
|
|
Arg: <protocol>
|
|
Added: 7.45.0
|
|
Category: connection curl
|
|
Example: --proto-default https ftp.example.com
|
|
See-also: proto proto-redir
|
|
---
|
|
Tells curl to use *protocol* for any URL missing a scheme name.
|
|
|
|
An unknown or unsupported protocol causes error
|
|
*CURLE_UNSUPPORTED_PROTOCOL* (1).
|
|
|
|
This option does not change the default proxy protocol (http).
|
|
|
|
Without this option set, curl guesses protocol based on the host name, see
|
|
--url for details.
|