aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-10-30 11:36:51 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-11-26 14:00:47 +0100
commit05ea79052c1cc88f901d570cdded32b25a361759 (patch)
tree3340e040477ebe053197a01f6854d76c1294b49c
parentc4892eb4b3fd7f263f3d8584029a24340837fa66 (diff)
make -logtimestamps default on and rework help-message
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 959e62f
-rw-r--r--src/init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 91e1334923..9c5386779d 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -335,7 +335,7 @@ std::string HelpMessage()
" -testnet " + _("Use the test network") + "\n" +
" -debug " + _("Output extra debugging information. Implies all other -debug* options") + "\n" +
" -debugnet " + _("Output extra network debugging information") + "\n" +
- " -logtimestamps " + _("Prepend debug output with timestamp") + "\n" +
+ " -logtimestamps " + _("Prepend debug output with timestamp (default: 1)") + "\n" +
" -shrinkdebugfile " + _("Shrink debug.log file on client startup (default: 1 when no -debug)") + "\n" +
" -printtoconsole " + _("Send trace/debug info to console instead of debug.log file") + "\n" +
#ifdef WIN32
@@ -571,7 +571,7 @@ bool AppInit2(boost::thread_group& threadGroup)
#endif
fPrintToConsole = GetBoolArg("-printtoconsole");
fPrintToDebugger = GetBoolArg("-printtodebugger");
- fLogTimestamps = GetBoolArg("-logtimestamps");
+ fLogTimestamps = GetBoolArg("-logtimestamps", true);
if (mapArgs.count("-timeout"))
{