diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-03-22 16:50:57 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-03-22 16:50:58 +0100 |
commit | d7f737dd1359b20432bf5e65401ea4c22526fca5 (patch) | |
tree | f523b6783dfb9ed277a240d0de9ec913141a8d43 /docs/cmdline-opts/data-urlencode.d | |
parent | c915662485f8fe1e32351a8f83a4a5fe76b5bd08 (diff) | |
download | curl-d7f737dd1359b20432bf5e65401ea4c22526fca5.tar.gz |
docs: make gen.pl support *italic* and **bold**
Remove some nroffisms from the cmdline doc files to simplify editing,
and instead support this markdown style.
Closes #6771
Diffstat (limited to 'docs/cmdline-opts/data-urlencode.d')
-rw-r--r-- | docs/cmdline-opts/data-urlencode.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/cmdline-opts/data-urlencode.d b/docs/cmdline-opts/data-urlencode.d index 2f2a3645b..2205f9db4 100644 --- a/docs/cmdline-opts/data-urlencode.d +++ b/docs/cmdline-opts/data-urlencode.d @@ -9,7 +9,7 @@ Category: http post upload This posts data, similar to the other --data options with the exception that this performs URL-encoding. -To be CGI-compliant, the <data> part should begin with a \fIname\fP followed +To be CGI-compliant, the <data> part should begin with a *name* followed by a separator and a content specification. The <data> part can be passed to curl using one of the following syntaxes: .RS @@ -29,6 +29,6 @@ URL-encode that data and pass it on in the POST. .IP "name@filename" This will make curl load data from the given file (including any newlines), URL-encode that data and pass it on in the POST. The name part gets an equal -sign appended, resulting in \fIname=urlencoded-file-content\fP. Note that the +sign appended, resulting in *name=urlencoded-file-content*. Note that the name is expected to be URL-encoded already. .RE |