fixed that values for arguments denoting operations aren't accepted
This commit is contained in:
parent
f335c262b2
commit
c891cf5b36
|
@ -464,6 +464,10 @@ void ArgumentParser::parseArgs(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(currentArg) {
|
if(currentArg) {
|
||||||
|
currentArg->m_present = true;
|
||||||
|
++actualArgc; // we actually found an argument
|
||||||
|
// now we might need to read values tied to that argument
|
||||||
|
valuesToRead = currentArg->requiredValueCount();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue