curl/docs/cmdline-opts/proto-default.md
Daniel Stenberg e7219c2bdc
cmdline-opts: language cleanups
Use imperative mood consistently for the first sentence describing an
option.

"Set this" instead "tell curl to set" or "this sets..."

Plus some extra cleanups and rephrasing.

Closes #13106
2024-03-12 15:42:33 +01:00

635 B

c SPDX-License-Identifier Long Help Arg Added Category Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl proto-default Use PROTOCOL for any URL missing a scheme <protocol> 7.45.0 connection curl single
proto
proto-redir
--proto-default https ftp.example.com

--proto-default

Use protocol for any provided URL missing a scheme.

An unknown or unsupported protocol causes error CURLE_UNSUPPORTED_PROTOCOL.

This option does not change the default proxy protocol (http).

Without this option set, curl guesses protocol based on the hostname, see --url for details.