mirror of https://github.com/jarro2783/cxxopts.git
Merge pull request #12 from wichtounet/patch-1
Better support for spaces
This commit is contained in:
commit
5ccd16d773
|
|
@ -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 <typename T>
|
||||
struct value_has_arg
|
||||
|
|
|
|||
Loading…
Reference in New Issue