Merge pull request #12 from wichtounet/patch-1

Better support for spaces
This commit is contained in:
jarro2783 2015-02-14 09:16:22 +11:00
commit 5ccd16d773

View File

@ -410,6 +410,13 @@ namespace cxxopts
//so that we can write --long=yes explicitly //so that we can write --long=yes explicitly
value = true; value = true;
} }
inline
void
parse_value(const std::string& text, std::string& value)
{
value = text;
}
template <typename T> template <typename T>
struct value_has_arg struct value_has_arg