Fixed yet another error in my wxCmdLineParser mdifications.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2002-08-02 17:55:54 +00:00
parent 327788acc5
commit bd996abe63

View File

@ -842,7 +842,7 @@ int wxCmdLineParser::Parse(bool showUsage)
}
}
if ( !ok && errorMsg.length() != 0 )
if ( !ok && (errorMsg.length() != 0 || helpRequested) )
{
wxString usage;
wxMessageOutput* msgOut = wxMessageOutput::Get();