summaryrefslogtreecommitdiff
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 08:09:16 +0200
commitdb22cc97d60f8b5af0b6ed207c6bcf92a25f2733 (patch)
tree08a159864e74121e3e95faabf65bb779d37eacc2
parentf4b69012307580119409100f5934d7621ea545c9 (diff)
downloadcurl-bagder/config-docs.tar.gz
config.d: clarify that initial : and = might need quoting [skip ci]bagder/config-docs
Fixes #3738
-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.