Show command line options as dialog when opened from debug window

On Linux/Mac the command-line options were printed to stderr when the button
was pressed in the debug window, resulting in confusion. This is fixed
in this commit by adding a separate method.
This commit is contained in:
Wladimir J. van der Laan
2012-06-14 15:06:23 +02:00
parent d59bce21e5
commit 7d72a8c36a
3 changed files with 17 additions and 7 deletions

View File

@@ -212,7 +212,7 @@ int main(int argc, char *argv[])
if (mapArgs.count("-?") || mapArgs.count("--help"))
{
GUIUtil::HelpMessageBox help;
help.exec();
help.showOrPrint();
return 1;
}