Util: Don't try to parse a '--' parameter
This commit is contained in:
@@ -231,6 +231,7 @@ bool ArgParser::parse(int argc, const char* argv[])
|
|||||||
// Stop parsing '-' prefixed parameters as options afer '--'
|
// Stop parsing '-' prefixed parameters as options afer '--'
|
||||||
if (argument.compare("--") == 0) {
|
if (argument.compare("--") == 0) {
|
||||||
m_nonOptionMode = true;
|
m_nonOptionMode = true;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Long Option
|
// Long Option
|
||||||
|
|||||||
Reference in New Issue
Block a user