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