xref: /curl/tests/data/test1461 (revision 9a0cf564)
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<features>
17manual
18</features>
19<server>
20none
21</server>
22<name>
23curl important --help
24</name>
25<command>
26--help
27</command>
28</client>
29
30#
31# Verify data after the test has been "shot"
32<verify>
33<errorcode>
340
35</errorcode>
36<stdout mode="text">
37Usage: curl [options...] <url>
38 -d, --data <data>           HTTP POST data
39 -f, --fail                  Fail fast with no output on HTTP errors
40 -h, --help <subject>        Get help for commands
41 -o, --output <file>         Write to file instead of stdout
42 -O, --remote-name           Write output to file named as remote file
43 -i, --show-headers          Show response headers in output
44 -s, --silent                Silent mode
45 -T, --upload-file <file>    Transfer local FILE to destination
46 -u, --user <user:password>  Server user and password
47 -A, --user-agent <name>     Send User-Agent <name> to server
48 -v, --verbose               Make the operation more talkative
49 -V, --version               Show version number and quit
50
51This is not the full help; this menu is split into categories.
52Use "--help category" to get an overview of all categories, which are:
53auth, connection, curl, deprecated, dns, file, ftp, global, http, imap, ldap,
54output, pop3, post, proxy, scp, sftp, smtp, ssh, telnet, tftp, timeout, tls,
55upload, verbose.
56Use "--help all" to list all options
57Use "--help [option]" to view documentation for a given option
58</stdout>
59</verify>
60</testcase>
61