Fixed Bug#1907, option of type GET_BOOL with arg type OPT_ARG

did not call get_one_option().
This commit is contained in:
unknown 2003-11-24 13:25:08 +02:00
parent c61d96d5ba
commit 5281f34e64

View File

@ -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)
{