path: root/src/corelib/tools/qcommandlineoption.cpp
diff options
authorDavid Faure <>2014-01-29 09:31:18 +0100
committerThe Qt Project <>2014-01-30 21:47:34 +0100
commitcc8e0d85e26f699ffa1e5eec3db9897a8bd417ff (patch)
treebcb79d8b664eec6fd70b5752de54075636812ebb /src/corelib/tools/qcommandlineoption.cpp
parent83977d47c1688bd0924650099baf122c85179525 (diff)
Doc: argument(s) was renamed to value(s), adjust QCommandLineOption docs
Task-number: QTBUG-36264 Change-Id: I132270f35b93b2b1c5230459f48bf9d047f42ab9 Reviewed-by: Topi Reiniƶ <>
Diffstat (limited to 'src/corelib/tools/qcommandlineoption.cpp')
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/tools/qcommandlineoption.cpp b/src/corelib/tools/qcommandlineoption.cpp
index 86f087674b..ccf9211b52 100644
--- a/src/corelib/tools/qcommandlineoption.cpp
+++ b/src/corelib/tools/qcommandlineoption.cpp
@@ -79,7 +79,7 @@ public:
This class is used to describe an option on the command line. It allows
different ways of defining the same option with multiple aliases possible.
It is also used to describe how the option is used - it may be a flag (e.g. \c{-v})
- or take an argument (e.g. \c{-o file}).
+ or take a value (e.g. \c{-o file}).
\snippet code/src_corelib_tools_qcommandlineoption.cpp 0
@@ -232,8 +232,8 @@ void QCommandLineOptionPrivate::setNames(const QStringList &nameList)
for the documentation of the option in the help output. An option with names \c{o} and \c{output},
and a value name of \c{file} will appear as \c{-o, --output <file>}.
- Call QCommandLineParser::argument() if you expect the option to be present
- only once, and QCommandLineParser::arguments() if you expect that option
+ Call QCommandLineParser::value() if you expect the option to be present
+ only once, and QCommandLineParser::values() if you expect that option
to be present multiple times.
\sa valueName()