Commit 8b0ba59c authored by unknown's avatar unknown

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

did not call get_one_option().

parent c6311f86
......@@ -330,8 +330,6 @@ int handle_options(int *argc, char ***argv,
else /* If argument differs from 0, enable option, else disable */
*((my_bool*) value)= (my_bool) atoi(optend) != 0;
}
(*argc)--;
continue;
}
else if (optp->arg_type == REQUIRED_ARG && !optend)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment