xref: /curl/tests/data/test1461 (revision fe9f68fa)
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>
17none
18</server>
19<name>
20curl 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>
310
32</errorcode>
33<stdout mode="text">
34Usage: 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 response headers in output
39 -o, --output <file>         Write to file instead of stdout
40 -O, --remote-name           Write output to file named as 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
48This is not the full help, this menu is stripped into categories.
49Use "--help category" to get an overview of all categories.
50For all options use the manual or "--help all".
51</stdout>
52</verify>
53</testcase>
54