From 78d21f22eb72a96d9e993e358743ed72349e4235 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 17 Dec 2017 10:50:57 +0200 Subject: Fix few issues with structured result output --- build2/operation.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/operation.cxx') diff --git a/build2/operation.cxx b/build2/operation.cxx index fab5cf5..62f82d3 100644 --- a/build2/operation.cxx +++ b/build2/operation.cxx @@ -112,7 +112,7 @@ namespace build2 } void - match (const values&, action a, action_targets& ts) + match (const values&, action a, action_targets& ts, bool quiet) { tracer trace ("match"); @@ -212,7 +212,7 @@ namespace build2 // We bailed before matching it (leave state in action_target as // unknown). // - if (verb != 0) + if (verb != 0 && !quiet) info << "not " << diag_did (a, t); break; @@ -226,7 +226,7 @@ namespace build2 { // Things didn't go well for this target. // - if (verb != 0) + if (verb != 0 && !quiet) info << "failed to " << diag_do (a, t); at.state = s; -- cgit v1.1