mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Don't make command line parsing a fatal error
This commit is contained in:
@@ -189,11 +189,7 @@ int main(int argc, char *argv[])
|
||||
bool parsedCommands = parser.parse(application.arguments());
|
||||
|
||||
if(!parsedCommands)
|
||||
{
|
||||
QString error = parser.errorText();
|
||||
printf("%s\n", error.toUtf8().data());
|
||||
return 1;
|
||||
}
|
||||
qCritical() << parser.errorText();
|
||||
|
||||
if(parser.isSet(helpOption))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user