(process_options): Corrected a long-standing error with using "--" to

separate payee regexps from account regexps.
This commit is contained in:
John Wiegley 2005-07-06 05:53:44 +00:00
parent 66b4147958
commit 29eeae9b1c

View file

@ -186,7 +186,7 @@ void config_t::process_options(const std::string& command,
(command == "b" && ! show_subtotal &&
display_predicate.empty()));
if (i != args_end)
regexps_to_predicate(*this, command, i, args_end);
regexps_to_predicate(*this, command, ++i, args_end);
}
// Setup the default value for the display predicate