Correctly handle short unrecognised options.

This commit is contained in:
Frank Schoenmann 2018-04-04 10:43:57 +02:00 committed by Frank Schoenmann
parent 0709f41802
commit 15c2657c3d

View File

@ -1713,7 +1713,6 @@ ParseResult::parse(int& argc, char**& argv)
{ {
if (m_allow_unrecognised) if (m_allow_unrecognised)
{ {
++current;
continue; continue;
} }
else else