diff options
| author | Stefan Boberg <[email protected]> | 2021-09-08 19:11:46 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-08 19:11:46 +0200 |
| commit | 8913dd550702ffd25a0ab97efff617a2e291ab25 (patch) | |
| tree | e227513c0db156f7b64628f5ad31ca72f5ffa286 /zenserver/config.cpp | |
| parent | Moved a bunch of logging code into zencore (diff) | |
| download | zen-8913dd550702ffd25a0ab97efff617a2e291ab25.tar.xz zen-8913dd550702ffd25a0ab97efff617a2e291ab25.zip | |
Mesh should not default to on
Diffstat (limited to 'zenserver/config.cpp')
| -rw-r--r-- | zenserver/config.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zenserver/config.cpp b/zenserver/config.cpp index 904e613a4..ddef83c02 100644 --- a/zenserver/config.cpp +++ b/zenserver/config.cpp @@ -85,7 +85,7 @@ ParseGlobalCliOptions(int argc, char* argv[], ZenServerOptions& GlobalOptions, Z "m", "mesh", "Enable mesh network", - cxxopts::value<bool>(ServiceConfig.MeshEnabled)->default_value("true"), + cxxopts::value<bool>(ServiceConfig.MeshEnabled)->default_value("false"), ""); options.add_option("diagnostics", @@ -178,14 +178,14 @@ ParseGlobalCliOptions(int argc, char* argv[], ZenServerOptions& GlobalOptions, Z if (result.count("help")) { - ConsoleLog().info("{}", options.help()); + zen::logging::ConsoleLog().info("{}", options.help()); exit(0); } } catch (cxxopts::OptionParseException& e) { - ConsoleLog().error("Error parsing zenserver arguments: {}\n\n{}", e.what(), options.help()); + zen::logging::ConsoleLog().error("Error parsing zenserver arguments: {}\n\n{}", e.what(), options.help()); throw; } |