Fixed -help command line options (which was broken elsewhere before).

This commit is contained in:
hiker 2014-04-22 14:24:32 +10:00
parent 1bff514c27
commit 886e7614e2

View File

@ -463,7 +463,8 @@ void cmdLineHelp()
*/ */
int handleCmdLinePreliminary() int handleCmdLinePreliminary()
{ {
if(CommandLine::has("--help") || CommandLine::has("-h")) if (CommandLine::has("--help") || CommandLine::has("-help") ||
CommandLine::has("-h"))
{ {
cmdLineHelp(); cmdLineHelp();
cleanUserConfig(); cleanUserConfig();