diff --git a/src/WallpaperEngine/Application/CApplicationContext.cpp b/src/WallpaperEngine/Application/CApplicationContext.cpp index a4665c0..26b3070 100644 --- a/src/WallpaperEngine/Application/CApplicationContext.cpp +++ b/src/WallpaperEngine/Application/CApplicationContext.cpp @@ -3,6 +3,7 @@ #include "Steam/FileSystem/FileSystem.h" #include "WallpaperEngine/Logging/CLog.h" +#include #include #include @@ -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); } } @@ -290,4 +293,4 @@ void CApplicationContext::printHelp (const char* route) sLog.out ("\t--set-property \tOverrides the default value of the given property"); sLog.out ("\t--no-fullscreen-pause\tPrevents the background pausing when an app is fullscreen"); sLog.out ("\t--disable-mouse\tDisables mouse interactions"); -} \ No newline at end of file +}