From 0cf081e3c2f0e6092c10fcbe7b436f0c87cc9601 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 3 Sep 2017 17:13:42 +0200 Subject: Minor diagnostics tweaks --- build2/b.cxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'build2') diff --git a/build2/b.cxx b/build2/b.cxx index 0ba62ce..95bf876 100644 --- a/build2/b.cxx +++ b/build2/b.cxx @@ -695,7 +695,7 @@ main (int argc, char* argv[]) if (find_buildfile (out_base).empty ()) { fail << "no buildfile in " << out_base << - info << "consider explicitly specifying src_base for " << tn; + info << "consider explicitly specifying its src_base"; } src_root = src_base = out_root = out_base; @@ -774,7 +774,8 @@ main (int argc, char* argv[]) if (!exists (src_base)) { fail << src_base << " does not exist" << - info << "consider explicitly specifying src_base for " << tn; + info << "consider explicitly specifying src_base for " + << out_base; } } @@ -813,7 +814,7 @@ main (int argc, char* argv[]) // Since we now know all the names of meta-operations and // operations, "lift" names that we assumed (from buildspec syntax) - // were operations but are actually meta-operations. Also convert + // were operations but are actually meta-operations. Also convert // empty names (which means they weren't explicitly specified) to // the defaults and verify that all the names are known. // @@ -998,7 +999,8 @@ main (int argc, char* argv[]) // if (!((tn.directory () || tn.type == "dir") && exists (src_base))) fail << "no buildfile in " << src_base << - info << "consider explicitly specifying src_base for " << tn; + info << "consider explicitly specifying src_base for " + << out_base; } // Enter project-wide (as opposed to global) variable overrides. -- cgit v1.1