summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/commandlineparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/installer/commandlineparser.cpp')
-rw-r--r--src/libs/installer/commandlineparser.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libs/installer/commandlineparser.cpp b/src/libs/installer/commandlineparser.cpp
index dc4569fbd..42bcd362e 100644
--- a/src/libs/installer/commandlineparser.cpp
+++ b/src/libs/installer/commandlineparser.cpp
@@ -151,6 +151,11 @@ CommandLineParser::CommandLineParser()
QLatin1String("Accepts all message queries without user input.")));
m_parser.addOption(QCommandLineOption(QStringList() << CommandLineOptions::scRejectMessageQuery,
QLatin1String("Rejects all message queries without user input.")));
+ m_parser.addOption(QCommandLineOption(QStringList() << CommandLineOptions::scMessageAutomaticAnswer,
+ QLatin1String("Automatically answers the message queries with the message identifier and button value. "
+ "Several identifier=value pairs can be given separated with comma, "
+ "for example --auto-answer message.id=QMessageBox::Ok,message.id2=QMessageBox::Cancel."),
+ QLatin1String("identifier=value")));
// Developer options
m_parser.addOption(QCommandLineOption(QStringList()