Fixed a command-line parsing bug with "account not account".

This commit is contained in:
John Wiegley 2009-02-06 23:19:24 -04:00
parent 03dcc07089
commit 909f7b1aa3

View file

@ -45,6 +45,8 @@ string args_to_predicate_expr(value_t::sequence_t::const_iterator begin,
bool parse_argument = true;
if (arg == "not" || arg == "NOT") {
if (append_and)
expr << " & ";
expr << " ! ";
parse_argument = false;
append_and = false;