config.d: split comments and option-per line

Closes https://github.com/curl/curl/pull/7405
This commit is contained in:
Josh Soref 2021-07-16 02:40:44 -04:00 committed by Jay Satiro
parent 9a7a60dbd1
commit 5a90c77cb6
1 changed files with 6 additions and 3 deletions

View File

@ -19,9 +19,12 @@ between the option and its parameter.
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.
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.