From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Fri, 16 Jul 2021 06:40:44 +0000 (-0400) Subject: config.d: split comments and option-per line X-Git-Tag: curl-7_78_0~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a90c77cb696925793d25f275c78ce881c4664e3;p=thirdparty%2Fcurl.git config.d: split comments and option-per line Closes https://github.com/curl/curl/pull/7405 --- diff --git a/docs/cmdline-opts/config.d b/docs/cmdline-opts/config.d index 254c7044b1..1c46e41c13 100644 --- a/docs/cmdline-opts/config.d +++ b/docs/cmdline-opts/config.d @@ -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.