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:
Utkarsh Ayachit 2006-12-21 09:52:01 -05:00
parent 87f5f6e239
commit fbfd05a308

View File

@ -306,7 +306,6 @@ int CommandLineArguments::Parse()
this->Internals->LastArgument --;
return 0;
}
return 1;
}
else if ( this->StoreUnusedArgumentsFlag )
{