mirror of
https://github.com/curl/curl.git
synced 2026-08-25 13:53:37 +03:00
tool: update --help with categories
This commit is a part of "--help me if you can" Closes #5680
This commit is contained in:
parent
5dddc1dc7e
commit
aa8777f63f
5 changed files with 602 additions and 246 deletions
|
|
@ -1777,6 +1777,7 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
|
|||
|
||||
case 'h': /* h for help */
|
||||
if(toggle) {
|
||||
global->help_category = nextarg;
|
||||
return PARAM_HELP_REQUESTED;
|
||||
}
|
||||
/* we now actually support --no-help too! */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue