forked from qt-creator/qt-creator
PluginManager: Add "-load all" and "-noload all" command line options
Task-number: QTCREATORBUG-11826 Change-Id: Ia033c1f8c69bbb2c757a0d8284c56168ad88155c Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
@@ -699,9 +699,17 @@ void PluginManager::formatOptions(QTextStream &str, int optionIndentation, int d
|
||||
formatOption(str, QLatin1String(OptionsParser::LOAD_OPTION),
|
||||
QLatin1String("plugin"), QLatin1String("Load <plugin> and all plugins that it requires"),
|
||||
optionIndentation, descriptionIndentation);
|
||||
formatOption(str, QLatin1String(OptionsParser::LOAD_OPTION) + QLatin1String(" all"),
|
||||
QString(), QLatin1String("Load all available plugins"),
|
||||
optionIndentation, descriptionIndentation);
|
||||
formatOption(str, QLatin1String(OptionsParser::NO_LOAD_OPTION),
|
||||
QLatin1String("plugin"), QLatin1String("Do not load <plugin> and all plugins that require it"),
|
||||
optionIndentation, descriptionIndentation);
|
||||
formatOption(str, QLatin1String(OptionsParser::NO_LOAD_OPTION) + QLatin1String(" all"),
|
||||
QString(), QString::fromLatin1("Do not load any plugin (useful when "
|
||||
"followed by one or more \"%1\" arguments)")
|
||||
.arg(QLatin1String(OptionsParser::LOAD_OPTION)),
|
||||
optionIndentation, descriptionIndentation);
|
||||
formatOption(str, QLatin1String(OptionsParser::PROFILE_OPTION),
|
||||
QString(), QLatin1String("Profile plugin loading"),
|
||||
optionIndentation, descriptionIndentation);
|
||||
|
||||
Reference in New Issue
Block a user