mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Exit immediatly on error with the cli parser
This commit is contained in:
parent
bbe262c3bc
commit
2ac9f735af
@ -601,6 +601,7 @@ parseArgs (int argc, char * argv[], bool & exit)
|
|||||||
catch (const std::exception & e)
|
catch (const std::exception & e)
|
||||||
{
|
{
|
||||||
std::cerr << e.what () << std::endl;
|
std::cerr << e.what () << std::endl;
|
||||||
|
exit = true;
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user