Fixed Bug#1907, option of type GET_BOOL with arg type OPT_ARG
did not call get_one_option().
This commit is contained in:
parent
c61d96d5ba
commit
5281f34e64
@ -316,8 +316,6 @@ int handle_options(int *argc, char ***argv,
|
||||
else /* If argument differs from 0, enable option, else disable */
|
||||
*((my_bool*) optp->value)= (my_bool) atoi(optend) != 0;
|
||||
}
|
||||
(*argc)--;
|
||||
continue;
|
||||
}
|
||||
else if (optp->arg_type == REQUIRED_ARG && !optend)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user