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
|
//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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user