summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qcommandlineparser
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2023-05-03 14:39:07 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2023-05-15 14:02:43 +0200
commit526ce669ed41e3285fb13a1e3f394d7722db3ab3 (patch)
treea198e926f9a892771ba48a2735907fb80c781d2d /tests/auto/corelib/tools/qcommandlineparser
parent56df9e5603b33d0fe6264c185030785b5587f8b6 (diff)
Clean up phrasing of --help-all and other help options
The options included by --help-all, although they are "specific to Qt", are "specific" to all Qt applications, so - in the present context, of QCommandLineParser - not specific at all. It's the options described by -h that are specific, to the present command; the Qt options are generic (in the present context). So rework the help string for --help-all itself and the documentation of the function. It had, in any case, an overly-complex first line, that descended into too much detail. Updated test to match. Pick-to: 6.5 Task-number: QTBUG-111228 Change-Id: I06da0af41be60e6e1b7616984001ddb9ca33aad6 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests/auto/corelib/tools/qcommandlineparser')
-rw-r--r--tests/auto/corelib/tools/qcommandlineparser/tst_qcommandlineparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/tools/qcommandlineparser/tst_qcommandlineparser.cpp b/tests/auto/corelib/tools/qcommandlineparser/tst_qcommandlineparser.cpp
index 6252440232..a536926724 100644
--- a/tests/auto/corelib/tools/qcommandlineparser/tst_qcommandlineparser.cpp
+++ b/tests/auto/corelib/tools/qcommandlineparser/tst_qcommandlineparser.cpp
@@ -553,7 +553,7 @@ void tst_QCommandLineParser::testVersionOption()
static const char expectedOptionsHelp[] =
"Options:\n"
" -h, --help Displays help on commandline options.\n"
- " --help-all Displays help including Qt specific options.\n"
+ " --help-all Displays help, including generic Qt options.\n"
" -v, --version Displays version information.\n"
" --load <url> Load file from URL.\n"
" -o, --output <file> Set output file.\n"