diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-17 10:50:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-17 10:50:57 +0200 |
commit | 78d21f22eb72a96d9e993e358743ed72349e4235 (patch) | |
tree | 7cbc4c200f23b0fba3d92f535f57463e0539ae63 /build2/operation.cxx | |
parent | f9d759160eef1ca870edcbb9b87caa23f0c93a43 (diff) |
Fix few issues with structured result output
Diffstat (limited to 'build2/operation.cxx')
-rw-r--r-- | build2/operation.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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; |