aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/data.d
diff options
context:
space:
mode:
authorBjarni Ingi Gislason <bjarniig@rhi.hi.is>2019-04-02 21:55:11 +0000
committerJay Satiro <raysatiro@yahoo.com>2019-07-15 02:39:35 -0400
commit4c91ab7b2f757aa87d992a167a9815f2a92dea76 (patch)
tree71475e92c455f720b0a3db2e4c65387be07ab949 /docs/cmdline-opts/data.d
parent02a62074c77e5932655a136b39637051bfac30d6 (diff)
docs: Fix missing lines caused by undefined macros
- Escape apostrophes at line start. Some lines begin with a "'" (apostrophe, single quote), which is then interpreted as a control character in *roff. Such lines are interpreted as being a call to a macro, and if undefined, the lines are removed from the output. Bug: https://bugs.debian.org/926352 Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> Submitted-by: Alessandro Ghedini Closes https://github.com/curl/curl/pull/4111
Diffstat (limited to 'docs/cmdline-opts/data.d')
-rw-r--r--docs/cmdline-opts/data.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cmdline-opts/data.d b/docs/cmdline-opts/data.d
index 7d499665e..d18312aaa 100644
--- a/docs/cmdline-opts/data.d
+++ b/docs/cmdline-opts/data.d
@@ -24,7 +24,7 @@ chunk that looks like \&'name=daniel&skill=lousy'.
If you start the data with the letter @, the rest should be a file name to
read the data from, or - if you want curl to read the data from
stdin. Multiple files can also be specified. Posting data from a file named
-'foobar' would thus be done with --data @foobar. When --data is told to read
+\&'foobar' would thus be done with --data @foobar. When --data is told to read
from a file like that, carriage returns and newlines will be stripped out. If
you don't want the @ character to have a special interpretation use --data-raw
instead.