mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 04:25:08 -05:00
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
This commit is contained in:
parent
40f3c18e6a
commit
5743d66b91
@ -889,7 +889,7 @@ static void print_category(curlhelp_t category)
|
|||||||
unsigned int i;
|
unsigned int i;
|
||||||
for(i = 0; helptext[i].opt; ++i)
|
for(i = 0; helptext[i].opt; ++i)
|
||||||
if(helptext[i].categories & category) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,14 +34,14 @@ curl important --help
|
|||||||
Usage: curl [options...] <url>
|
Usage: curl [options...] <url>
|
||||||
-d, --data <data> HTTP POST data
|
-d, --data <data> HTTP POST data
|
||||||
-f, --fail Fail silently (no output at all) on HTTP errors
|
-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
|
-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
|
-O, --remote-name Write output to a file named as the remote file
|
||||||
-s, --silent Silent mode
|
-s, --silent Silent mode
|
||||||
-T, --upload-file <file> Transfer local FILE to destination
|
-T, --upload-file <file> Transfer local FILE to destination
|
||||||
-u, --user <user:password> Server user and password
|
-u, --user <user:password> Server user and password
|
||||||
-A, --user-agent <name> Send User-Agent <name> to server
|
-A, --user-agent <name> Send User-Agent <name> to server
|
||||||
-v, --verbose Make the operation more talkative
|
-v, --verbose Make the operation more talkative
|
||||||
-V, --version Show version number and quit
|
-V, --version Show version number and quit
|
||||||
|
|
||||||
|
@ -37,9 +37,9 @@ curl file category --help
|
|||||||
<stdout mode="text">
|
<stdout mode="text">
|
||||||
Usage: curl [options...] <url>
|
Usage: curl [options...] <url>
|
||||||
file: FILE protocol options
|
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
|
-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>
|
</stdout>
|
||||||
</verify>
|
</verify>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
@ -37,9 +37,9 @@ curl file category --help with lower/upper mix
|
|||||||
<stdout mode="text">
|
<stdout mode="text">
|
||||||
Usage: curl [options...] <url>
|
Usage: curl [options...] <url>
|
||||||
file: FILE protocol options
|
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
|
-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>
|
</stdout>
|
||||||
</verify>
|
</verify>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
Loading…
Reference in New Issue
Block a user