aboutsummaryrefslogtreecommitdiff
path: root/build2
diff options
context:
space:
mode:
Diffstat (limited to 'build2')
-rw-r--r--build2/b.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/build2/b.cxx b/build2/b.cxx
index 15844dc..f939763 100644
--- a/build2/b.cxx
+++ b/build2/b.cxx
@@ -375,10 +375,11 @@ main (int argc, char* argv[])
path::home_directory (), // The home variable is not assigned yet.
default_options_files {{path ("b.options")},
nullopt /* start_dir */},
- [&trace, &verbosity] (const path& f, bool remote)
+ [&trace, &verbosity] (const path& f, bool remote, bool overwrite)
{
if (verbosity () >= 3)
- trace << "loading " << (remote ? "remote " : "local ") << f;
+ trace << (overwrite ? "overwriting " : "loading ")
+ << (remote ? "remote " : "local ") << f;
}),
ops);
}