diff options
| author | Stefan Boberg <[email protected]> | 2021-09-22 09:35:06 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-22 09:35:06 +0200 |
| commit | 0fa967b2622665cf75937902ff6a7cf66a8450df (patch) | |
| tree | 8e952d5d2c4d668d3578c480a444f48474512ad6 /zenserver/config.cpp | |
| parent | Fixed unused variable warning (diff) | |
| parent | Don't exit until any key pressed when showing help (tmp fix). (diff) | |
| download | zen-0fa967b2622665cf75937902ff6a7cf66a8450df.tar.xz zen-0fa967b2622665cf75937902ff6a7cf66a8450df.zip | |
Merge branch 'main' of https://github.com/EpicGames/zen
Diffstat (limited to 'zenserver/config.cpp')
| -rw-r--r-- | zenserver/config.cpp | 5 |
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); } |