1--- 2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3SPDX-License-Identifier: curl 4Long: proto-default 5Help: Use PROTOCOL for any URL missing a scheme 6Arg: <protocol> 7Added: 7.45.0 8Category: connection curl 9Multi: single 10See-also: 11 - proto 12 - proto-redir 13Example: 14 - --proto-default https ftp.example.com 15--- 16 17# `--proto-default` 18 19Tells curl to use *protocol* for any URL missing a scheme name. 20 21An unknown or unsupported protocol causes error 22*CURLE_UNSUPPORTED_PROTOCOL* (1). 23 24This option does not change the default proxy protocol (http). 25 26Without this option set, curl guesses protocol based on the host name, see 27--url for details. 28