diff options
Diffstat (limited to 'build2/b-options.cxx')
-rw-r--r-- | build2/b-options.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/b-options.cxx b/build2/b-options.cxx index df39b2b..9b5e427 100644 --- a/build2/b-options.cxx +++ b/build2/b-options.cxx @@ -94,6 +94,9 @@ namespace build2 { os << "invalid value '" << value ().c_str () << "' for option '" << option ().c_str () << "'"; + + if (!message ().empty ()) + os << ": " << message ().c_str (); } const char* invalid_value:: |