Commit 5034f572 authored by Christian Kandeler's avatar Christian Kandeler Committed by Eike Ziller

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: default avatarEike Ziller <eike.ziller@nokia.com>
parent 3c6f76d1
......@@ -73,8 +73,10 @@ bool OptionsParser::parse()
continue;
if (checkForProfilingOption())
continue;
#ifdef WITH_TESTS
if (checkForTestOption())
continue;
#endif
if (checkForAppOption())
continue;
if (checkForPluginOption())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment