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:
Christian Kandeler
2012-09-04 12:03:43 +02:00
committed by Eike Ziller
parent 3c6f76d16c
commit 5034f5729d

View File

@@ -73,8 +73,10 @@ bool OptionsParser::parse()
continue;
if (checkForProfilingOption())
continue;
#ifdef WITH_TESTS
if (checkForTestOption())
continue;
#endif
if (checkForAppOption())
continue;
if (checkForPluginOption())