Commit e0847466 authored by unknown's avatar unknown

Fixed Bug#6593, "Inconsistency in handling option prefixes (--skip, --disable, etc.)"

parent d0eecb39
......@@ -205,7 +205,8 @@ int handle_options(int *argc, char ***argv,
{
if (!getopt_compare_strings(special_opt_prefix[i], opt_str,
special_opt_prefix_lengths[i]) &&
opt_str[special_opt_prefix_lengths[i]] == '-')
(opt_str[special_opt_prefix_lengths[i]] == '-' ||
opt_str[special_opt_prefix_lengths[i]] == '_'))
{
/*
We were called with a special prefix, we can reuse opt_found
......
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