1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

config.d: clarify that initial : and = might need quoting [skip ci]

Fixes #3738
Closes #3749
This commit is contained in:
Daniel Stenberg 2019-04-08 00:16:21 +02:00
parent c150438eee
commit ebb2ebe18b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -15,12 +15,12 @@ if so, the colon or equals characters can be used as separators. If the option
is specified with one or two dashes, there can be no colon or equals character
between the option and its parameter.
If the parameter is to contain whitespace, the parameter must be enclosed
within quotes. Within double quotes, the following escape sequences are
available: \\\\, \\", \\t, \\n, \\r and \\v. A backslash preceding any other
letter is ignored. If the first column of a config line is a '#' character,
the rest of the line will be treated as a comment. Only write one option per
physical line in the config file.
If the parameter contains whitespace (or starts with : or =), the parameter
must be enclosed within quotes. Within double quotes, the following escape
sequences are available: \\\\, \\", \\t, \\n, \\r and \\v. A backslash
preceding any other letter is ignored. If the first column of a config line is
a '#' character, the rest of the line will be treated as a comment. Only write
one option per physical line in the config file.
Specify the filename to --config as '-' to make curl read the file from stdin.