diff --git a/doc/man/wesnoth.6 b/doc/man/wesnoth.6 index cbd0904368f..b78a75f6e90 100644 --- a/doc/man/wesnoth.6 +++ b/doc/man/wesnoth.6 @@ -194,7 +194,7 @@ if used) and exits prevents redirecting logged output to a file. Log files are created in the logs directory under the userdata folder. .TP .B --log-to-file -log output is written to a file even if it would normally go to standard output/error. Cancels the effect of --no-log-to-file whether implicit or explicit. +log output is written to a file in addition to standard output/error. Cancels the effect of --no-log-to-file whether implicit or explicit. .TP .B --wnoconsole For Windows, when used with --no-log-to-file, results in output being written to cerr/cout instead of CONOUT. Otherwise, does nothing. diff --git a/src/commandline_options.cpp b/src/commandline_options.cpp index 77e046b7d52..fc5bf5b526d 100644 --- a/src/commandline_options.cpp +++ b/src/commandline_options.cpp @@ -252,8 +252,8 @@ commandline_options::commandline_options(const std::vector& args) ("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 log output with more precision.") - ("no-log-to-file", "log output is written to standard error rather than to a file.") - ("log-to-file", "log output is written to a file even if it would normally go to standard output/error. Cancels the effect of --no-log-to-file whether implicit or explicit.") + ("no-log-to-file", "log output is written only to standard error rather than to a file.") + ("log-to-file", "log output is written to a file in addition to standard output/error. Cancels the effect of --no-log-to-file whether implicit or explicit.") ("wnoconsole", "For Windows, when used with --no-log-to-file, results in output being written to cerr/cout instead of CONOUT. Otherwise, does nothing.") ;