From 909f7b1aa343c84eccc4ca89c19f632486cf3f43 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 6 Feb 2009 23:19:24 -0400 Subject: Fixed a command-line parsing bug with "account not account". --- src/predicate.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/predicate.cc b/src/predicate.cc index 72b22f97..331e9211 100644 --- a/src/predicate.cc +++ b/src/predicate.cc @@ -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; -- cgit v1.2.3