1
0
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:
Jay Satiro 2021-02-27 18:08:53 -05:00
parent 40f3c18e6a
commit 5743d66b91
4 changed files with 10 additions and 10 deletions

View File

@ -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);
} }
} }