diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-01-19 16:57:44 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-01-19 16:57:44 +0100 |
commit | 9f31d5cdc582ca3757b008449ff9428b9bd9b89e (patch) | |
tree | 7c6921c25b6e1d0646c25a6011fd0739e9e02bf2 | |
parent | c275aa9903a77fad5afd61b78ccecd33baed4aca (diff) | |
download | curl-bagder/manpage-data-files.tar.gz |
data.d: remove "Multiple files can also be specified"bagder/manpage-data-files
It is superfluous and could even be misleading.
Bug: https://curl.haxx.se/mail/archive-2020-01/0016.html
Reported-by: Mike Norton
-rw-r--r-- | docs/cmdline-opts/data.d | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/cmdline-opts/data.d b/docs/cmdline-opts/data.d index d18312aaa..8b5200d34 100644 --- a/docs/cmdline-opts/data.d +++ b/docs/cmdline-opts/data.d @@ -22,9 +22,8 @@ data pieces specified will be merged together with a separating 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 -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. +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 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. |