summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qcommandlineparser.cpp
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2014-12-20 06:36:17 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-12-20 07:59:07 +0100
commit86d04cfe2bdceca401cab228bd63245f16e65731 (patch)
tree4273b2f5879371d130cce0d6a97a7eb75175c980 /src/corelib/tools/qcommandlineparser.cpp
parent0dd38014b307f12368888c089195b084158f94a3 (diff)
parente281537f2049af0b96fd87158f2b7212afe8ab5f (diff)
Merge "Merge remote-tracking branch 'origin/5.4' into dev" into refs/staging/dev
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
-rw-r--r--src/corelib/tools/qcommandlineparser.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/corelib/tools/qcommandlineparser.cpp b/src/corelib/tools/qcommandlineparser.cpp
index 2fe957d873..117ce381f1 100644
--- a/src/corelib/tools/qcommandlineparser.cpp
+++ b/src/corelib/tools/qcommandlineparser.cpp
@@ -331,11 +331,13 @@ bool QCommandLineParser::addOption(const QCommandLineOption &option)
/*!
\since 5.4
- Adds the options \a options to look for while parsing.
+ Adds the options to look for while parsing. The options are specified by
+ the parameter \a options.
- Returns \c false if adding any of the options failed; otherwise returns \c false.
+ Returns \c true if adding all of the options was successful; otherwise
+ returns \c false.
- Cf. addOption() for when it may fail.
+ See the documentation for addOption() for when this function may fail.
*/
bool QCommandLineParser::addOptions(const QList<QCommandLineOption> &options)
{