Commit 2a489d4d authored by Eike Ziller's avatar Eike Ziller

Add missing command line help.

Change-Id: Ib1f98fa91293478d0f4271f9032e6e3866c81bab
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent f7f3c2d1
......@@ -71,7 +71,7 @@ static const char fixedOptionsC[] =
" -help Display this help\n"
" -version Display program version\n"
" -client Attempt to connect to already running instance\n"
" -settingspath <path> Override the default path where user settings are stored.\n";
" -settingspath <path> Override the default path where user settings are stored\n";
static const char HELP_OPTION1[] = "-h";
static const char HELP_OPTION2[] = "-help";
......
......@@ -600,6 +600,11 @@ void PluginManager::formatOptions(QTextStream &str, int optionIndentation, int d
formatOption(str, QLatin1String(OptionsParser::PROFILE_OPTION),
QString(), QLatin1String("Profile plugin loading"),
optionIndentation, descriptionIndentation);
#ifdef WITH_TESTS
formatOption(str, QLatin1String(OptionsParser::TEST_OPTION),
QLatin1String("plugin|all"), QLatin1String("Run plugin's tests"),
optionIndentation, descriptionIndentation);
#endif
}
/*!
......
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