2020-07-14 04:32:22 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
--help
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
none
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
curl important --help
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
--help
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<errorcode>
|
|
|
|
0
|
|
|
|
</errorcode>
|
|
|
|
<stdout mode="text">
|
|
|
|
Usage: curl [options...] <url>
|
|
|
|
-d, --data <data> HTTP POST data
|
|
|
|
-f, --fail Fail silently (no output at all) on HTTP errors
|
tool_help: Increase space between option and description
- Increase the minimum number of spaces between the option and the
description from 1 to 2.
Before:
~~~
-u, --user <user:password> Server user and password
-A, --user-agent <name> Send User-Agent <name> to server
-v, --verbose Make the operation more talkative
-V, --version Show version number and quit
-w, --write-out <format> Use output FORMAT after completion
--xattr Store metadata in extended file attributes
~~~
After:
~~~
-u, --user <user:password> Server user and password
-A, --user-agent <name> Send User-Agent <name> to server
-v, --verbose Make the operation more talkative
-V, --version Show version number and quit
-w, --write-out <format> Use output FORMAT after completion
--xattr Store metadata in extended file attributes
~~~
Closes https://github.com/curl/curl/pull/6674
2021-02-27 18:08:53 -05:00
|
|
|
-h, --help <category> Get help for commands
|
2020-07-14 04:32:22 -04:00
|
|
|
-i, --include Include protocol response headers in the output
|
tool_help: Increase space between option and description
- Increase the minimum number of spaces between the option and the
description from 1 to 2.
Before:
~~~
-u, --user <user:password> Server user and password
-A, --user-agent <name> Send User-Agent <name> to server
-v, --verbose Make the operation more talkative
-V, --version Show version number and quit
-w, --write-out <format> Use output FORMAT after completion
--xattr Store metadata in extended file attributes
~~~
After:
~~~
-u, --user <user:password> Server user and password
-A, --user-agent <name> Send User-Agent <name> to server
-v, --verbose Make the operation more talkative
-V, --version Show version number and quit
-w, --write-out <format> Use output FORMAT after completion
--xattr Store metadata in extended file attributes
~~~
Closes https://github.com/curl/curl/pull/6674
2021-02-27 18:08:53 -05:00
|
|
|
-o, --output <file> Write to file instead of stdout
|
2020-07-14 04:32:22 -04:00
|
|
|
-O, --remote-name Write output to a file named as the remote file
|
|
|
|
-s, --silent Silent mode
|
tool_help: Increase space between option and description
- Increase the minimum number of spaces between the option and the
description from 1 to 2.
Before:
~~~
-u, --user <user:password> Server user and password
-A, --user-agent <name> Send User-Agent <name> to server
-v, --verbose Make the operation more talkative
-V, --version Show version number and quit
-w, --write-out <format> Use output FORMAT after completion
--xattr Store metadata in extended file attributes
~~~
After:
~~~
-u, --user <user:password> Server user and password
-A, --user-agent <name> Send User-Agent <name> to server
-v, --verbose Make the operation more talkative
-V, --version Show version number and quit
-w, --write-out <format> Use output FORMAT after completion
--xattr Store metadata in extended file attributes
~~~
Closes https://github.com/curl/curl/pull/6674
2021-02-27 18:08:53 -05:00
|
|
|
-T, --upload-file <file> Transfer local FILE to destination
|
|
|
|
-u, --user <user:password> Server user and password
|
|
|
|
-A, --user-agent <name> Send User-Agent <name> to server
|
2020-07-14 04:32:22 -04:00
|
|
|
-v, --verbose Make the operation more talkative
|
|
|
|
-V, --version Show version number and quit
|
|
|
|
|
|
|
|
This is not the full help, this menu is stripped into categories.
|
|
|
|
Use "--help category" to get an overview of all categories.
|
|
|
|
For all options use the manual or "--help all".
|
|
|
|
</stdout>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|