diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-11-23 10:33:03 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-11-23 10:33:03 (GMT) |
commit | 8759a330bd13174d79087fd16e4529ac44e4516f (patch) | |
tree | 8d350328b55bc8725140557c234132368ad26aa7 /tools/linguist/lconvert/main.cpp | |
parent | 7e7e3c3fe15780aa7d024e136acaf697ab49458c (diff) | |
parent | aae4b037317a9ad0d41022d6309f1d4f36443764 (diff) | |
download | Qt-8759a330bd13174d79087fd16e4529ac44e4516f.zip Qt-8759a330bd13174d79087fd16e4529ac44e4516f.tar.gz Qt-8759a330bd13174d79087fd16e4529ac44e4516f.tar.bz2 |
Merge remote branch 'staging/4.6' into 4.6
Diffstat (limited to 'tools/linguist/lconvert/main.cpp')
-rw-r--r-- | tools/linguist/lconvert/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/linguist/lconvert/main.cpp b/tools/linguist/lconvert/main.cpp index 7807761..5f3de7b 100644 --- a/tools/linguist/lconvert/main.cpp +++ b/tools/linguist/lconvert/main.cpp @@ -46,6 +46,8 @@ #include <QtCore/QString> #include <QtCore/QStringList> +#include <iostream> + static int usage(const QStringList &args) { Q_UNUSED(args); @@ -55,7 +57,7 @@ static int usage(const QStringList &args) foreach (Translator::FileFormat format, Translator::registeredFileFormats()) loaders += line.arg(format.extension, -5).arg(format.description); - qWarning("%s", qPrintable(QString(QLatin1String("\nUsage:\n" + std::cerr << qPrintable(QString(QLatin1String("\nUsage:\n" " lconvert [options] <infile> [<infile>...]\n\n" "lconvert is part of Qt's Linguist tool chain. It can be used as a\n" "stand-alone tool to convert and filter translation data files.\n" @@ -117,7 +119,7 @@ static int usage(const QStringList &args) " 0 on success\n" " 1 on command line parse failures\n" " 2 on read failures\n" - " 3 on write failures\n")).arg(loaders))); + " 3 on write failures\n")).arg(loaders)); return 1; } |