aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-04-08 00:16:21 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-04-08 21:57:22 +0200
commitebb2ebe18b1c445cb066ca3df539ff37d27e30af (patch)
tree4af18691d35f1d45ac688f413b94ed020293ed23
parentc150438eee16029c3a725c8a4f984e515f89d264 (diff)
config.d: clarify that initial : and = might need quoting [skip ci]
Fixes #3738 Closes #3749
-rw-r--r--docs/cmdline-opts/config.d12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/cmdline-opts/config.d b/docs/cmdline-opts/config.d
index 105d62828..ef9894b8e 100644
--- a/docs/cmdline-opts/config.d
+++ b/docs/cmdline-opts/config.d
@@ -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.