summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/form.d
Commit message (Collapse)AuthorAgeFilesLines
* curl.1: require "see also" for every documented optionbagder/curl-1-seealsoDaniel Stenberg2021-11-151-0/+1
| | | | | | | gen.pl now generates a warning if the "See Also" field is not filled in for a command line option All command line options now provide one or more related options.
* cmdline-opts: made the 'Added:' field mandatoryDaniel Stenberg2021-09-281-0/+1
| | | | | | | | Since "too old" versions are no longer included in the generated man page, this field is now mandatory so that it won't be forgotten and then not included in the documentation. Closes #7786
* curl.1: provide examples for each optionDaniel Stenberg2021-09-011-0/+1
| | | | | | | | | | | The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
* docs/cmdline: fix grammar and typosJosh Soref2021-07-201-1/+1
|
* form.d: add examples of `,`/`;` for file[name]Josh Soref2021-07-161-2/+2
| | | | | Fixes #7415 Closes #7417
* docs: make gen.pl support *italic* and **bold**Daniel Stenberg2021-03-221-5/+5
| | | | | | | Remove some nroffisms from the cmdline doc files to simplify editing, and instead support this markdown style. Closes #6771
* docs: add categories to all cmdline optsEmil Engler2020-09-041-0/+1
| | | | | | | | Adapted gen.pl with 'listcats' This commit is a part of "--help me if you can" Closes #5680
* form.d: fix two minor typosAron Rotteveel2020-01-231-2/+2
| | | | Closes #4843
* curl.1: Fix cmdline-opts reference errors.Frank Gevaerts2018-05-281-1/+1
| | | | | | | | | --data, --form, and --ntlm were declared to be mutually exclusive with non-existing options. --data and --form referred to --upload (which is short for --upload-file and therefore did work, so this one was merely a bit confusing), --ntlm referred to --negotiated instead of --negotiate. Closes #2612
* form.d: rephrased somewhat, added two example command linesDaniel Stenberg2018-02-221-16/+26
|
* cli tool: in -F option arg, comma is a delimiter for files onlyPatrick Monnerat2017-10-291-0/+5
| | | | | | | | Also upgrade test 1133 to cover this case and clarify man page about form data quoting. Bug: https://github.com/curl/curl/issues/2022 Reported-By: omau on github
* cli tool: reimplement stdin buffering in -F option.Patrick Monnerat2017-10-121-3/+6
| | | | | | | | | | | | If stdin is not a regular file, its content is memory-buffered to enable a possible data "rewind". In all cases, stdin data size is determined before real use to avoid having an unknown part's size. --libcurl generated code is left as an unbuffered stdin fread/fseek callback part with unknown data size. Buffering is not supported in deprecated curl_formadd() API.
* docs: clarify form/mime usage of non-regular data files.Patrick Monnerat2017-10-081-3/+3
|
* mime: implement encoders.Patrick Monnerat2017-09-051-0/+14
| | | | | | | | curl_mime_encoder() is operational and documented. curl tool -F option is extended with ";encoder=". curl tool --libcurl option generates calls to curl_mime_encoder(). New encoder tests 648 & 649. Test 1404 extended with an encoder specification.
* mime: use in curl cli tool instead of form API.Patrick Monnerat2017-09-021-7/+59
| | | | | | Extended -F option syntax to support multipart mail messages. -F keyword headers= added to include custom headers in parts. Documentation upgraded.
* cmdline-docs: more options converted overDaniel Stenberg2016-11-161-0/+54