mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:03:40 +03:00
tool_getparam: Moved tool_help() call into operate()
This commit is contained in:
parent
24e22e1078
commit
8c80840d01
2 changed files with 5 additions and 4 deletions
|
|
@ -32,7 +32,6 @@
|
|||
#include "tool_cb_prg.h"
|
||||
#include "tool_formparse.h"
|
||||
#include "tool_getparam.h"
|
||||
#include "tool_help.h"
|
||||
#include "tool_helpers.h"
|
||||
#include "tool_libinfo.h"
|
||||
#include "tool_metalink.h"
|
||||
|
|
@ -1395,7 +1394,6 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
|
||||
case 'h': /* h for help */
|
||||
if(toggle) {
|
||||
tool_help();
|
||||
return PARAM_HELP_REQUESTED;
|
||||
}
|
||||
/* we now actually support --no-help too! */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue