X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31f6de22b0575e7feac83e7f99b5774a3490fc1a..761df41e86ceeed56d32c038a6c9f88554d4f47a:/include/wx/cmdline.h?ds=sidebyside diff --git a/include/wx/cmdline.h b/include/wx/cmdline.h index dccfc40687..498752cb47 100644 --- a/include/wx/cmdline.h +++ b/include/wx/cmdline.h @@ -162,7 +162,10 @@ public: // parse the command line, return 0 if ok, -1 if "-h" or "--help" option // was encountered and the help message was given or a positive value if a // syntax error occured - int Parse(); + // + // if showUsage is true, Usage() is called in case of syntax error or if + // help was requested + int Parse(bool showUsage = TRUE); // give the usage message describing all program options void Usage();