App now exits happily after providing help msg

This commit is contained in:
Ryan 2023-11-23 22:20:04 -06:00
parent 21c38d9fd1
commit c7e804e4a9

View File

@ -3,6 +3,7 @@
#include "Steam/FileSystem/FileSystem.h"
#include "WallpaperEngine/Logging/CLog.h"
#include <cstdlib>
#include <cstring>
#include <getopt.h>
@ -167,6 +168,7 @@ CApplicationContext::CApplicationContext (int argc, char* argv[])
case 'h':
printHelp (argv[0]);
std::exit(0);
break;
case 'f':
@ -209,6 +211,7 @@ CApplicationContext::CApplicationContext (int argc, char* argv[])
else
{
printHelp (argv[0]);
std::exit(0);
}
}