Update qmltest usage help
authorCharles Yin <charles.yin@nokia.com>
Fri, 28 Oct 2011 03:33:46 +0000 (13:33 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 28 Oct 2011 03:53:21 +0000 (05:53 +0200)
Add "-translation" command line option

Task-number:QTBUG-22390
Change-Id: I0600b92767b73ccb54e8d70f6c7bb8bf8075c81c
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
src/testlib/qtestcase.cpp

index 79d96d8..cb039a6 100644 (file)
@@ -1094,9 +1094,10 @@ Q_TESTLIB_EXPORT void qtest_qParseArgs(int argc, char *argv[], bool qml)
             if (qml) {
                 printf ("\n"
                         " QmlTest options:\n"
-                        " -import             : Specify an import directory.\n"
-                        " -input              : Specify the root directory for test cases or a single test case file.\n"
+                        " -import dir         : Specify an import directory.\n"
+                        " -input dir/file     : Specify the root directory for test cases or a single test case file.\n"
                         " -qtquick1           : Run with QtQuick 1 rather than QtQuick 2.\n"
+                        " -translation file   : Specify the translation file.\n"
                         );
             }