]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: Fix missing lines caused by undefined macros
authorBjarni Ingi Gislason <bjarniig@rhi.hi.is>
Tue, 2 Apr 2019 21:55:11 +0000 (21:55 +0000)
committerJay Satiro <raysatiro@yahoo.com>
Mon, 15 Jul 2019 06:39:35 +0000 (02:39 -0400)
- 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

docs/cmdline-opts/data.d
docs/cmdline-opts/key.d
docs/cmdline-opts/proto.d

index 7d499665e08a4c530e3332dd87d0c622e1d5ca54..d18312aaaff8924b55fcbc46adc20fc730b59b6e 100644 (file)
@@ -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.
index 4877b42386f3a34a4c1167508c1ff67fe3f82b8f..855e2f7b6bc576f114fdd3d39c937b9cd71961d9 100644 (file)
@@ -5,7 +5,7 @@ Help: Private key file name
 ---
 Private key file name. Allows you to provide your private key in this separate
 file. For SSH, if not specified, curl tries the following candidates in order:
-'~/.ssh/id_rsa', '~/.ssh/id_dsa', './id_rsa', './id_dsa'.
+\&'~/.ssh/id_rsa', '~/.ssh/id_dsa', './id_rsa', './id_dsa'.
 
 If curl is built against OpenSSL library, and the engine pkcs11 is available,
 then a PKCS#11 URI (RFC 7512) can be used to specify a private key located in a
index 1513fdc054948a3a8f93e4ba1c4285d3856fa1d9..e1ece1788fd19eea8a8fd83ec2a9e2aa8fe4fd4b 100644 (file)
@@ -6,7 +6,7 @@ Added: 7.20.2
 ---
 Tells curl to limit what protocols it may use in the transfer. Protocols are
 evaluated left to right, are comma separated, and are each a protocol name or
-'all', optionally prefixed by zero or more modifiers. Available modifiers are:
+\&'all', optionally prefixed by zero or more modifiers. Available modifiers are:
 .RS
 .TP 3
 .B +