aboutsummaryrefslogtreecommitdiff
path: root/init.cpp
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 /init.cpp
parentb4671902f2c5aa1c95be547a61b0a72b8a3025de (diff)
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.
Diffstat (limited to 'init.cpp')
-rw-r--r--init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.cpp b/init.cpp
index e114d80727..30096e669b 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");