forked from qt-creator/qt-creator
Add missing command line help.
Change-Id: Ib1f98fa91293478d0f4271f9032e6e3866c81bab Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -71,7 +71,7 @@ static const char fixedOptionsC[] =
|
|||||||
" -help Display this help\n"
|
" -help Display this help\n"
|
||||||
" -version Display program version\n"
|
" -version Display program version\n"
|
||||||
" -client Attempt to connect to already running instance\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_OPTION1[] = "-h";
|
||||||
static const char HELP_OPTION2[] = "-help";
|
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),
|
formatOption(str, QLatin1String(OptionsParser::PROFILE_OPTION),
|
||||||
QString(), QLatin1String("Profile plugin loading"),
|
QString(), QLatin1String("Profile plugin loading"),
|
||||||
optionIndentation, descriptionIndentation);
|
optionIndentation, descriptionIndentation);
|
||||||
|
#ifdef WITH_TESTS
|
||||||
|
formatOption(str, QLatin1String(OptionsParser::TEST_OPTION),
|
||||||
|
QLatin1String("plugin|all"), QLatin1String("Run plugin's tests"),
|
||||||
|
optionIndentation, descriptionIndentation);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|||||||
Reference in New Issue
Block a user