testlib: Improve documentation of verbose test logging options.
authorJason McDonald <jason.mcdonald@nokia.com>
Wed, 29 Feb 2012 02:49:25 +0000 (12:49 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 2 Mar 2012 00:06:22 +0000 (01:06 +0100)
Change the help output to show which options only work for plain text
logging.

Change-Id: I39eb7cd0793cdbe553c230334c6cd532b4929f61
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
src/testlib/qtestcase.cpp

index a4f1a39..e167876 100644 (file)
@@ -1191,11 +1191,13 @@ Q_TESTLIB_EXPORT void qtest_qParseArgs(int argc, char *argv[], bool qml)
          "     *** If no output file is specified, stdout is assumed.\n"
          "     *** If no output format is specified, -txt is assumed.\n"
          "\n"
-         " Detail options:\n"
-         " -silent             : Only output failures and fatal errors in plain text output\n"
-         " -v1                 : Print enter messages for each testfunction\n"
-         " -v2                 : Also print out each QVERIFY/QCOMPARE/QTEST\n"
-         " -vs                 : Print every signal emitted\n"
+         " Test log detail options:\n"
+         " -silent             : Log failures and fatal errors only\n"
+         " -v1                 : Log the start of each testfunction\n"
+         " -v2                 : Log each QVERIFY/QCOMPARE/QTEST (implies -v1)\n"
+         " -vs                 : Log every signal emission and resulting slot invocations\n"
+         "\n"
+         "     *** The -silent and -v1 options only affect plain text output.\n"
          "\n"
          " Testing options:\n"
          " -functions          : Returns a list of current testfunctions\n"