From 0dc03d406a9958adb27ff49f568685f6e80f01ce Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Feb 2018 10:29:03 +0200 Subject: Add progress to dist meta-operation --- build2/b.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'build2/b.cxx') diff --git a/build2/b.cxx b/build2/b.cxx index 945d375..ad54922 100644 --- a/build2/b.cxx +++ b/build2/b.cxx @@ -1255,10 +1255,10 @@ main (int argc, char* argv[]) uint16_t diag (ops.structured_result () ? 0 : 1); if (mif->match != nullptr) - mif->match (mparams, a, tgs, diag); + mif->match (mparams, a, tgs, diag, true /* progress */); if (mif->execute != nullptr && !ops.match_only ()) - mif->execute (mparams, a, tgs, diag); + mif->execute (mparams, a, tgs, diag, true /* progress */); } if (mif->operation_post != nullptr) @@ -1279,10 +1279,10 @@ main (int argc, char* argv[]) uint16_t diag (ops.structured_result () ? 0 : 2); if (mif->match != nullptr) - mif->match (mparams, a, tgs, diag); + mif->match (mparams, a, tgs, diag, true /* progress */); if (mif->execute != nullptr && !ops.match_only ()) - mif->execute (mparams, a, tgs, diag); + mif->execute (mparams, a, tgs, diag, true /* progress */); } if (post_oid != 0) @@ -1304,10 +1304,10 @@ main (int argc, char* argv[]) uint16_t diag (ops.structured_result () ? 0 : 1); if (mif->match != nullptr) - mif->match (mparams, a, tgs, diag); + mif->match (mparams, a, tgs, diag, true /* progress */); if (mif->execute != nullptr && !ops.match_only ()) - mif->execute (mparams, a, tgs, diag); + mif->execute (mparams, a, tgs, diag, true /* progress */); } if (mif->operation_post != nullptr) -- cgit v1.1