Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.0
-
None
Description
Hi,
5.4.0 introduces: http://doc.qt.io/qt-5/qcommandlineparser.html#addOptions
But it's documentation looks a bit odd to me. It says:
--------------------
Adds the options options to look for while parsing.
Returns false if adding any of the options failed; otherwise returns false.
Cf. addOption() for when it may fail.
This function was introduced in Qt 5.4.
--------------------
I read the "Returns false if adding any of the options failed; otherwise returns false." as always returns false. That can't possible be true, right?
Then one line down i see: "Cf. addOption() for when it may fail."
Where did "Cf" come from?
I think this documentation could be cleared up a little.
Cheers,
Mark