From b093739baa9dd05e9578c3fbfb3283cdf468461e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 9 Jul 2018 17:10:42 +0200 Subject: Regenerate options parsing code --- odb/options.ixx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'odb/options.ixx') diff --git a/odb/options.ixx b/odb/options.ixx index a4a4c1b..8fafd73 100644 --- a/odb/options.ixx +++ b/odb/options.ixx @@ -84,8 +84,11 @@ namespace cli // inline invalid_value:: invalid_value (const std::string& option, - const std::string& value) - : option_ (option), value_ (value) + const std::string& value, + const std::string& message) + : option_ (option), + value_ (value), + message_ (message) { } @@ -101,6 +104,12 @@ namespace cli return value_; } + inline const std::string& invalid_value:: + message () const + { + return message_; + } + // file_io_failure // inline file_io_failure:: -- cgit v1.1