aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-12-14 13:51:11 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-12-15 10:12:38 +0100
commit9e9056cd1a05e5868025553d2a8cb3e47cf45045 (patch)
treeccb955d1bd925032fb107b908f6cc7a836d9efe5 /src/init.cpp
parent8a7606f35bf6ce862996559d4860c9b7f618e9ee (diff)
downloadbitcoin-9e9056cd1a05e5868025553d2a8cb3e47cf45045.tar.xz
Remove -logtodebugger
`-logtodebugger` is a strange, obscure, WIN32-only (mostly MSVC) thing. Let's clean up the options a bit get rid of it. test_bitcoin was using fLogToDebugger as a way to prevent logging to debug.log. For this, add a boolean (not exposed as option) fLogToDebugLog that defaults to true and is disabled in the tests.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 40dd2d04cd..a4504cf65e 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -245,10 +245,6 @@ std::string HelpMessage(HelpMessageMode hmm)
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 "
"solved instantly. This is intended for regression testing tools and app development.") + "\n";
-#ifdef WIN32
- strUsage += " -printtodebugger " + _("Send trace/debug info to debugger") + "\n";
-#endif
-
if (hmm == HMM_BITCOIN_QT)
{
strUsage += " -server " + _("Accept command line and JSON-RPC commands") + "\n";
@@ -492,7 +488,6 @@ bool AppInit2(boost::thread_group& threadGroup, bool fForceServer)
fServer = GetBoolArg("-server", false);
fPrintToConsole = GetBoolArg("-printtoconsole", false);
- fPrintToDebugger = GetBoolArg("-printtodebugger", false);
fLogTimestamps = GetBoolArg("-logtimestamps", true);
#ifdef ENABLE_WALLET
bool fDisableWallet = GetBoolArg("-disablewallet", false);