Commit e0847466 authored by unknown's avatar unknown
Browse files

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

parent d0eecb39
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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