BUG: When a "wrong argument" was detected, we call the WrongArgument handler. If the handler returns success, the argument parsing should continue. Currently, it was stopping parsing immediately after the wrong argument was processed, irrespective of the WrongArgument handler status. Fixed that.
This commit is contained in:
parent
87f5f6e239
commit
fbfd05a308
@ -306,7 +306,6 @@ int CommandLineArguments::Parse()
|
||||
this->Internals->LastArgument --;
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
else if ( this->StoreUnusedArgumentsFlag )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user