forked from qt-creator/qt-creator
Make command line parsing and help output consistent.
The -test option is currently "silently accepted" even if WITH_TESTS was not set. Change-Id: Ie969802593da28c6b05b60479dffbd495802fc47 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
3c6f76d16c
commit
5034f5729d
@@ -73,8 +73,10 @@ bool OptionsParser::parse()
|
||||
continue;
|
||||
if (checkForProfilingOption())
|
||||
continue;
|
||||
#ifdef WITH_TESTS
|
||||
if (checkForTestOption())
|
||||
continue;
|
||||
#endif
|
||||
if (checkForAppOption())
|
||||
continue;
|
||||
if (checkForPluginOption())
|
||||
|
||||
Reference in New Issue
Block a user