mirror of
https://github.com/curl/curl.git
synced 2026-08-24 17:53:33 +03:00
docs/cmdline-opts: remove \& escapes from all .d files
gen.pl escapes them itself now
This commit is contained in:
parent
567693196a
commit
fdbcd39488
18 changed files with 22 additions and 22 deletions
|
|
@ -25,12 +25,12 @@ the @ character. To post data purely binary, you should instead use the
|
|||
|
||||
If any of these options is used more than once on the same command line, the
|
||||
data pieces specified will be merged with a separating &-symbol. Thus, using
|
||||
\&'-d name=daniel -d skill=lousy' would generate a post chunk that looks like
|
||||
\&'name=daniel&skill=lousy'.
|
||||
'-d name=daniel -d skill=lousy' would generate a post 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. Posting
|
||||
data from a file named \&'foobar' would thus be done with --data @foobar. When
|
||||
data from a file named '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 do not want the @ character to have a special
|
||||
interpretation use --data-raw instead.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue