Fix implicit and short
This commit is contained in:
parent
32be452302
commit
9642317b08
@ -1022,6 +1022,10 @@ Options::parse(int& argc, char**& argv)
|
|||||||
{
|
{
|
||||||
checked_parse_arg(argc, argv, current, value, name);
|
checked_parse_arg(argc, argv, current, value, name);
|
||||||
}
|
}
|
||||||
|
else if (value->value().has_implicit())
|
||||||
|
{
|
||||||
|
parse_option(value, name, "");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//error
|
//error
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user