blob: ccc3b85f38eacfcbbeab46b0a31fdab50a08957c [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001Long: proto-default
2Help: Use PROTOCOL for any URL missing a scheme
3Arg: <protocol>
4Added: 7.45.0
5---
6Tells curl to use \fIprotocol\fP for any URL missing a scheme name.
7
8Example:
9
10 curl --proto-default https ftp.mozilla.org
11
12An unknown or unsupported protocol causes error
13\fICURLE_UNSUPPORTED_PROTOCOL\fP (1).
14
15This option does not change the default proxy protocol (http).
16
17Without this option curl would make a guess based on the host, see --url for
18details.