From 0bfb9101a80df04e6ee75e495a1a6da2e6b46dea Mon Sep 17 00:00:00 2001 From: Iris Morelle Date: Mon, 19 Oct 2020 23:08:02 -0300 Subject: [PATCH] Minor fixes to --help text More importantly, --log-precise's description is now more platform-agnostic (there isn't a "logfile" on platforms other than Windows). --- doc/man/wesnoth.6 | 2 +- src/commandline_options.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/man/wesnoth.6 b/doc/man/wesnoth.6 index 316d00e2ed5..186509bf9be 100644 --- a/doc/man/wesnoth.6 +++ b/doc/man/wesnoth.6 @@ -173,7 +173,7 @@ unless combined with the option. .TP .B --log-precise -shows the timestamps in the logfile with more precision. +shows the timestamps in log output with more precision. .TP .B --log-strict sets the strict level of the logger. Any messages sent to log domains diff --git a/src/commandline_options.cpp b/src/commandline_options.cpp index 00d04eca169..ff2791d4a28 100644 --- a/src/commandline_options.cpp +++ b/src/commandline_options.cpp @@ -247,12 +247,12 @@ commandline_options::commandline_options (const std::vector& args) po::options_description logging_opts("Logging options"); logging_opts.add_options() ("logdomains", po::value()->implicit_value(std::string()), "lists defined log domains (only the ones containing filter if such is provided) and exits.") - ("log-error", po::value(), "sets the severity level of the specified log domain(s) to 'error'. should be given as comma separated list of domains, wildcards are allowed. Example: --log-error=network,gui/*,engine/enemies") + ("log-error", po::value(), "sets the severity level of the specified log domain(s) to 'error'. should be given as a comma-separated list of domains, wildcards are allowed. Example: --log-error=network,gui/*,engine/enemies") ("log-warning", po::value(), "sets the severity level of the specified log domain(s) to 'warning'. Similar to --log-error.") ("log-info", po::value(), "sets the severity level of the specified log domain(s) to 'info'. Similar to --log-error.") ("log-debug", po::value(), "sets the severity level of the specified log domain(s) to 'debug'. Similar to --log-error.") ("log-none", po::value(), "sets the severity level of the specified log domain(s) to 'none'. Similar to --log-error.") - ("log-precise", "shows the timestamps in the logfile with more precision.") + ("log-precise", "shows the timestamps in log output with more precision.") ; po::options_description multiplayer_opts("Multiplayer options");