1
0
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:
Mathieu Schroeter 2017-12-13 22:40:42 +01:00
parent bbe262c3bc
commit 2ac9f735af

View File

@ -601,6 +601,7 @@ parseArgs (int argc, char * argv[], bool & exit)
catch (const std::exception & e)
{
std::cerr << e.what () << std::endl;
exit = true;
return EXIT_FAILURE;
}