Browse Source

make -logtimestamps default on and rework help-message

0.10
Philip Kaufmann 11 years ago
parent
commit
959e62f0c8
  1. 4
      src/init.cpp

4
src/init.cpp

@ -227,7 +227,7 @@ std::string HelpMessage(HelpMessageMode hmm)
{ {
strUsage += ".\n"; strUsage += ".\n";
} }
strUsage += " -logtimestamps " + _("Prepend debug output with timestamp") + "\n"; strUsage += " -logtimestamps " + _("Prepend debug output with timestamp (default: 1)") + "\n";
strUsage += " -shrinkdebugfile " + _("Shrink debug.log file on client startup (default: 1 when no -debug)") + "\n"; strUsage += " -shrinkdebugfile " + _("Shrink debug.log file on client startup (default: 1 when no -debug)") + "\n";
strUsage += " -printtoconsole " + _("Send trace/debug info to console instead of debug.log file") + "\n"; strUsage += " -printtoconsole " + _("Send trace/debug info to console instead of debug.log file") + "\n";
strUsage += " -regtest " + _("Enter regression test mode, which uses a special chain in which blocks can be " strUsage += " -regtest " + _("Enter regression test mode, which uses a special chain in which blocks can be "
@ -500,7 +500,7 @@ bool AppInit2(boost::thread_group& threadGroup)
fServer = true; fServer = true;
fPrintToConsole = GetBoolArg("-printtoconsole", false); fPrintToConsole = GetBoolArg("-printtoconsole", false);
fPrintToDebugger = GetBoolArg("-printtodebugger", false); fPrintToDebugger = GetBoolArg("-printtodebugger", false);
fLogTimestamps = GetBoolArg("-logtimestamps", false); fLogTimestamps = GetBoolArg("-logtimestamps", true);
if (mapArgs.count("-timeout")) if (mapArgs.count("-timeout"))
{ {

Loading…
Cancel
Save