unsigned int i;
for(i = 0; helptext[i].opt; ++i)
if(helptext[i].categories & category) {
- printf(" %-19s %s\n", helptext[i].opt, helptext[i].desc);
+ printf(" %-18s %s\n", helptext[i].opt, helptext[i].desc);
}
}
Usage: curl [options...] <url>
-d, --data <data> HTTP POST data
-f, --fail Fail silently (no output at all) on HTTP errors
- -h, --help <category> Get help for commands
+ -h, --help <category> Get help for commands
-i, --include Include protocol response headers in the output
- -o, --output <file> Write to file instead of stdout
+ -o, --output <file> Write to file instead of stdout
-O, --remote-name Write output to a file named as the remote file
-s, --silent Silent mode
- -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
+ -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
-v, --verbose Make the operation more talkative
-V, --version Show version number and quit
<stdout mode="text">
Usage: curl [options...] <url>
file: FILE protocol options
- --create-file-mode <mode> File mode (octal) for created files
+ --create-file-mode <mode> File mode (octal) for created files
-I, --head Show document info only
- -r, --range <range> Retrieve only the bytes within RANGE
+ -r, --range <range> Retrieve only the bytes within RANGE
</stdout>
</verify>
</testcase>
<stdout mode="text">
Usage: curl [options...] <url>
file: FILE protocol options
- --create-file-mode <mode> File mode (octal) for created files
+ --create-file-mode <mode> File mode (octal) for created files
-I, --head Show document info only
- -r, --range <range> Retrieve only the bytes within RANGE
+ -r, --range <range> Retrieve only the bytes within RANGE
</stdout>
</verify>
</testcase>