summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/commandlineparser.cpp
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2020-04-29 11:20:07 +0300
committerKatja Marttila <katja.marttila@qt.io>2020-04-30 10:30:43 +0300
commit7c4403a17e3ee4d84444b1d8c7edb3ac84c9ae80 (patch)
treea3042481fac61059822d7eb99ada68537971688e /src/libs/installer/commandlineparser.cpp
parent1fc539a0d29a83392949d2e343a209ceb1d8dc2e (diff)
Rationalize auto-answer format
Makes no sense to force users to type the 'QMessageBox::' in front of value, we an always prepend that in code. Change-Id: I3f9152c53875f06c70eb1601ecbe286d3849febd Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'src/libs/installer/commandlineparser.cpp')
-rw-r--r--src/libs/installer/commandlineparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/commandlineparser.cpp b/src/libs/installer/commandlineparser.cpp
index 6191c302d..d1e3e89d6 100644
--- a/src/libs/installer/commandlineparser.cpp
+++ b/src/libs/installer/commandlineparser.cpp
@@ -154,7 +154,7 @@ CommandLineParser::CommandLineParser()
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."),
+ "for example --auto-answer message.id=Ok,message.id2=Cancel."),
QLatin1String("identifier=value")));
m_parser.addOption(QCommandLineOption(QStringList() << CommandLineOptions::scMessageDefaultAnswer,
QLatin1String("Automatically answers to message queries with their default values.")));