aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2012-10-05 11:24:09 -0700
committerWladimir J. van der Laan <[email protected]>2012-10-05 11:24:09 -0700
commitee0b64853699c08602fed81cdefc62d7e8dcdce2 (patch)
tree55bc70f643e92b943f3d74aa005cfda182559383 /src/qt/guiutil.cpp
parentMerge pull request #1905 from laanwj/2012_10_startup_gui_error (diff)
parentSend --help message to stdout i.s.o stderr (diff)
downloaddiscoin-ee0b64853699c08602fed81cdefc62d7e8dcdce2.tar.xz
discoin-ee0b64853699c08602fed81cdefc62d7e8dcdce2.zip
Merge pull request #1906 from laanwj/2012_10_help_stdout
Send --help message to stdout i.s.o stderr
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r--src/qt/guiutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp
index d2d7716db..ff70ca24a 100644
--- a/src/qt/guiutil.cpp
+++ b/src/qt/guiutil.cpp
@@ -439,7 +439,7 @@ void HelpMessageBox::printToConsole()
{
// On other operating systems, the expected action is to print the message to the console.
QString strUsage = header + "\n" + coreOptions + "\n" + uiOptions;
- fprintf(stderr, "%s", strUsage.toStdString().c_str());
+ fprintf(stdout, "%s", strUsage.toStdString().c_str());
}
void HelpMessageBox::showOrPrint()