aboutsummaryrefslogtreecommitdiff
path: root/odb/options.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/options.cxx')
-rw-r--r--odb/options.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/options.cxx b/odb/options.cxx
index f0b1054..f52289c 100644
--- a/odb/options.cxx
+++ b/odb/options.cxx
@@ -92,6 +92,9 @@ namespace cli
{
os << "invalid value '" << value ().c_str () << "' for option '"
<< option ().c_str () << "'";
+
+ if (!message ().empty ())
+ os << ": " << message ().c_str ();
}
const char* invalid_value::