Correctly handle short unrecognised options.
This commit is contained in:
parent
7355755837
commit
1c237223f4
@ -1713,7 +1713,6 @@ ParseResult::parse(int& argc, const char**& argv)
|
|||||||
{
|
{
|
||||||
if (m_allow_unrecognised)
|
if (m_allow_unrecognised)
|
||||||
{
|
{
|
||||||
++current;
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user