diff options
author | Emil Engler <me@emilengler.com> | 2020-09-02 20:11:20 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-04 15:38:20 +0200 |
commit | aa8777f63febca6a13f6b86e141a832232560037 (patch) | |
tree | 792a9f77d2482422aa25b4c676963f6ae3e441cd /src/tool_operate.c | |
parent | 5dddc1dc7e39bd9b54fd219c1b2e318f1f6c49b2 (diff) | |
download | curl-aa8777f63febca6a13f6b86e141a832232560037.tar.gz |
tool: update --help with categories
This commit is a part of "--help me if you can"
Closes #5680
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r-- | src/tool_operate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index 1fe7637d2..517ad1f62 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -2536,7 +2536,7 @@ CURLcode operate(struct GlobalConfig *global, int argc, argv_item_t argv[]) /* Check if we were asked for the help */ if(res == PARAM_HELP_REQUESTED) - tool_help(); + tool_help(global->help_category); /* Check if we were asked for the manual */ else if(res == PARAM_MANUAL_REQUESTED) hugehelp(); |