diff options
Diffstat (limited to 'cli/runtime-source.cxx')
-rw-r--r-- | cli/runtime-source.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/runtime-source.cxx b/cli/runtime-source.cxx index fedcbe1..d704386 100644 --- a/cli/runtime-source.cxx +++ b/cli/runtime-source.cxx @@ -109,6 +109,9 @@ generate_runtime_source (context& ctx, bool complete) << "os << \"invalid value '\" << value ().c_str () << \"' for " << "option '\"" << endl << " << option ().c_str () << \"'\";" + << endl + << "if (!message ().empty ())" << endl + << "os << \": \" << message ().c_str ();" << "}" << "const char* invalid_value::" << endl |