Better support for spaces

This fixes support for options such as --file="folder with spaces/file".
This commit is contained in:
Baptiste Wicht 2015-02-13 10:55:26 +01:00
parent feeffe1997
commit 7611711651

View File

@ -411,6 +411,13 @@ namespace cxxopts
value = true;
}
inline
void
parse_value(const std::string& text, std::string& value)
{
value = text;
}
template <typename T>
struct value_has_arg
{