|
@@ -3,6 +3,7 @@
|
|
|
#include "Steam/FileSystem/FileSystem.h"
|
|
#include "Steam/FileSystem/FileSystem.h"
|
|
|
#include "WallpaperEngine/Logging/CLog.h"
|
|
#include "WallpaperEngine/Logging/CLog.h"
|
|
|
|
|
|
|
|
|
|
+#include <cstdlib>
|
|
|
#include <cstring>
|
|
#include <cstring>
|
|
|
#include <getopt.h>
|
|
#include <getopt.h>
|
|
|
|
|
|
|
@@ -167,6 +168,7 @@ CApplicationContext::CApplicationContext (int argc, char* argv[])
|
|
|
|
|
|
|
|
case 'h':
|
|
case 'h':
|
|
|
printHelp (argv[0]);
|
|
printHelp (argv[0]);
|
|
|
|
|
+ std::exit(0);
|
|
|
break;
|
|
break;
|
|
|
|
|
|
|
|
case 'f':
|
|
case 'f':
|
|
@@ -209,6 +211,7 @@ CApplicationContext::CApplicationContext (int argc, char* argv[])
|
|
|
else
|
|
else
|
|
|
{
|
|
{
|
|
|
printHelp (argv[0]);
|
|
printHelp (argv[0]);
|
|
|
|
|
+ std::exit(0);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -290,4 +293,4 @@ void CApplicationContext::printHelp (const char* route)
|
|
|
sLog.out ("\t--set-property <name=value>\tOverrides the default value of the given property");
|
|
sLog.out ("\t--set-property <name=value>\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--no-fullscreen-pause\tPrevents the background pausing when an app is fullscreen");
|
|
|
sLog.out ("\t--disable-mouse\tDisables mouse interactions");
|
|
sLog.out ("\t--disable-mouse\tDisables mouse interactions");
|
|
|
-}
|
|
|
|
|
|
|
+}
|