aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris <chris@vikki-old.(none)>2011-01-20 11:45:01 -0800
committerChris <chris@vikki-old.(none)>2011-01-20 11:45:01 -0800
commitaaac71d38fcd1d7ee86e5dd44c4de2cf4be6445b (patch)
tree12444c30517285bad83ae469183c7753d7c7afdd
parentMerge branch 'listaccountsbug' of https://github.com/gavinandresen/bitcoin-gi... (diff)
downloaddiscoin-aaac71d38fcd1d7ee86e5dd44c4de2cf4be6445b.tar.xz
discoin-aaac71d38fcd1d7ee86e5dd44c4de2cf4be6445b.zip
Add new command line argument "-printtoconsole" to send debugging output to the console instead of to debug.log. The code for this was already in place, but there was no way other than editing the source and rebuilding to turn it on.
-rw-r--r--init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.cpp b/init.cpp
index e114d8072..30096e669 100644
--- a/init.cpp
+++ b/init.cpp
@@ -210,6 +210,7 @@ bool AppInit2(int argc, char* argv[])
fDebug = GetBoolArg("-debug");
+ fPrintToConsole = GetBoolArg("-printtoconsole");
fPrintToDebugger = GetBoolArg("-printtodebugger");
fTestNet = GetBoolArg("-testnet");