summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Soref <2119212+jsoref@users.noreply.github.com>2021-07-16 02:40:44 -0400
committerJay Satiro <raysatiro@yahoo.com>2021-07-20 01:57:23 -0400
commit5a90c77cb696925793d25f275c78ce881c4664e3 (patch)
tree3b1b5b40f816f6b9956bc01e370635c7b4de6d98
parent9a7a60dbd1109d923d064a40b33ae68fcd5642c1 (diff)
downloadcurl-5a90c77cb696925793d25f275c78ce881c4664e3.tar.gz
config.d: split comments and option-per line
Closes https://github.com/curl/curl/pull/7405
-rw-r--r--docs/cmdline-opts/config.d9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/cmdline-opts/config.d b/docs/cmdline-opts/config.d
index 254c7044b..1c46e41c1 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.