From: Eike Ziller Date: Thu, 13 Oct 2011 07:22:28 +0000 (+0200) Subject: Add missing command line help. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=2a489d4d4d592c777daafc09db0ca9d0fe41942e;p=qt-creator-jp%2Fqt-creator-jp.git Add missing command line help. Change-Id: Ib1f98fa91293478d0f4271f9032e6e3866c81bab Reviewed-by: Daniel Teske --- diff --git a/src/app/main.cpp b/src/app/main.cpp index 7d078a8103..88e1d2ebb6 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -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 Override the default path where user settings are stored.\n"; +" -settingspath Override the default path where user settings are stored\n"; static const char HELP_OPTION1[] = "-h"; static const char HELP_OPTION2[] = "-help"; diff --git a/src/libs/extensionsystem/pluginmanager.cpp b/src/libs/extensionsystem/pluginmanager.cpp index 57afc087e0..43a36c700b 100644 --- a/src/libs/extensionsystem/pluginmanager.cpp +++ b/src/libs/extensionsystem/pluginmanager.cpp @@ -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 } /*!