Annotation of embedaddon/curl/docs/cmdline-opts/proto-default.d, revision 1.1
1.1 ! misho 1: Long: proto-default
! 2: Help: Use PROTOCOL for any URL missing a scheme
! 3: Arg: <protocol>
! 4: Added: 7.45.0
! 5: ---
! 6: Tells curl to use \fIprotocol\fP for any URL missing a scheme name.
! 7:
! 8: Example:
! 9:
! 10: curl --proto-default https ftp.mozilla.org
! 11:
! 12: An unknown or unsupported protocol causes error
! 13: \fICURLE_UNSUPPORTED_PROTOCOL\fP (1).
! 14:
! 15: This option does not change the default proxy protocol (http).
! 16:
! 17: Without this option curl would make a guess based on the host, see --url for
! 18: details.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>