diff --git a/src/cxxopts.hpp b/src/cxxopts.hpp index 993ca68..0d7ae1e 100644 --- a/src/cxxopts.hpp +++ b/src/cxxopts.hpp @@ -410,6 +410,13 @@ namespace cxxopts //so that we can write --long=yes explicitly value = true; } + + inline + void + parse_value(const std::string& text, std::string& value) + { + value = text; + } template struct value_has_arg