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