File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / docs / cmdline-opts / proto-default.d
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:15 2020 UTC (4 years, 10 months ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    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>