This commit is contained in:
Martchus 2023-05-29 18:05:11 +02:00
parent 5d5ccb7729
commit 5bfce4235e
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ bool ArgumentReader::read(ArgumentVector &args)
Argument *lastArgInLevel = nullptr;
vector<const char *> *values = nullptr;
// iterate through all argument denotations; loop might exit earlier when an denotation is unknown
// iterate through all argument denotations; loop might exit earlier when a denotation is unknown
while (argv != end) {
// check whether there are still values to read
if (values && ((lastArgInLevel->requiredValueCount() != Argument::varValueCount) || (lastArgInLevel->flags() & Argument::Flags::Greedy))