aboutsummaryrefslogtreecommitdiff
path: root/build2/cli
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cli')
-rw-r--r--build2/cli/init.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/build2/cli/init.cxx b/build2/cli/init.cxx
index 4ad8a1a..bad2533 100644
--- a/build2/cli/init.cxx
+++ b/build2/cli/init.cxx
@@ -150,7 +150,8 @@ namespace build2
else
{
if (!optional)
- fail << cli << " is not command line interface compiler";
+ fail << cli << " is not command line interface compiler" <<
+ info << "use config.cli to override";
v.clear ();
}
@@ -178,7 +179,8 @@ namespace build2
// found). So it would be good to redirect child's STDERR.
//
if (!optional)
- error << "unable to execute " << args[0] << ": " << e;
+ error << "unable to execute " << args[0] << ": " << e <<
+ info << "use config.cli to override";
if (e.child)
exit (1);