aboutsummaryrefslogtreecommitdiff
path: root/zenserver/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/config.cpp')
-rw-r--r--zenserver/config.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/zenserver/config.cpp b/zenserver/config.cpp
index 164d2a792..af28168a5 100644
--- a/zenserver/config.cpp
+++ b/zenserver/config.cpp
@@ -17,6 +17,8 @@
#include <zencore/logging.h>
#include <sol/sol.hpp>
+#include <conio.h>
+
#if ZEN_PLATFORM_WINDOWS
// Used for getting My Documents for default data directory
@@ -219,7 +221,8 @@ ParseGlobalCliOptions(int argc, char* argv[], ZenServerOptions& GlobalOptions, Z
if (result.count("help"))
{
zen::logging::ConsoleLog().info("{}", options.help());
-
+ zen::logging::ConsoleLog().info("Press any key to exit!");
+ _getch();
exit(0);
}