xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | --help |
| 5 | </keywords> |
| 6 | </info> |
| 7 | |
| 8 | # |
| 9 | # Server-side |
| 10 | <reply> |
| 11 | </reply> |
| 12 | |
| 13 | # |
| 14 | # Client-side |
| 15 | <client> |
| 16 | <server> |
| 17 | none |
| 18 | </server> |
| 19 | <name> |
| 20 | curl important --help |
| 21 | </name> |
| 22 | <command> |
| 23 | --help |
| 24 | </command> |
| 25 | </client> |
| 26 | |
| 27 | # |
| 28 | # Verify data after the test has been "shot" |
| 29 | <verify> |
| 30 | <errorcode> |
| 31 | 0 |
| 32 | </errorcode> |
| 33 | <stdout mode="text"> |
| 34 | Usage: curl [options...] <url> |
| 35 | -d, --data <data> HTTP POST data |
| 36 | -f, --fail Fail fast with no output on HTTP errors |
| 37 | -h, --help <category> Get help for commands |
| 38 | -i, --include Include protocol response headers in the output |
| 39 | -o, --output <file> Write to file instead of stdout |
| 40 | -O, --remote-name Write output to a file named as the remote file |
| 41 | -s, --silent Silent mode |
| 42 | -T, --upload-file <file> Transfer local FILE to destination |
| 43 | -u, --user <user:password> Server user and password |
| 44 | -A, --user-agent <name> Send User-Agent <name> to server |
| 45 | -v, --verbose Make the operation more talkative |
| 46 | -V, --version Show version number and quit |
| 47 | |
| 48 | This is not the full help, this menu is stripped into categories. |
| 49 | Use "--help category" to get an overview of all categories. |
| 50 | For all options use the manual or "--help all". |
| 51 | </stdout> |
| 52 | </verify> |
| 53 | </testcase> |