diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-19 08:38:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-19 08:38:56 +0200 |
commit | cde3ea58802c700ed8fd3b11e46eb973a7018a12 (patch) | |
tree | 03038c64f62b30b56334e7988e6add370520c895 /build2/cli/init.cxx | |
parent | a5b95ad0d6ee18f2deb9e98e3058efd12bf0f492 (diff) |
Improve diagnostics
Diffstat (limited to 'build2/cli/init.cxx')
-rw-r--r-- | build2/cli/init.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cli/init.cxx b/build2/cli/init.cxx index acbbb33..35ef04e 100644 --- a/build2/cli/init.cxx +++ b/build2/cli/init.cxx @@ -35,7 +35,7 @@ namespace build2 const variable_map& hints) { tracer trace ("cli::config_init"); - l5 ([&]{trace << "for " << bs.out_path ();}); + l5 ([&]{trace << "for " << bs;}); assert (hints.empty ()); // We don't known any hints. @@ -263,7 +263,7 @@ namespace build2 if (verb >= (nv ? 2 : 3)) { diag_record dr (text); - dr << "cli " << project (rs) << '@' << rs.out_path () << '\n'; + dr << "cli " << project (rs) << '@' << rs << '\n'; if (conf) dr << " cli " << pp << '\n' @@ -306,7 +306,7 @@ namespace build2 const variable_map& hints) { tracer trace ("cli::init"); - l5 ([&]{trace << "for " << bs.out_path ();}); + l5 ([&]{trace << "for " << bs;}); // Make sure the cxx module has been loaded since we need its targets // types (?xx{}). Note that we don't try to load it ourselves because of |