Better support for spaces
This fixes support for options such as --file="folder with spaces/file".
This commit is contained in:
parent
feeffe1997
commit
7611711651
@ -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
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user