From c154161f2bcdf0ad1b9b194464b0e2de3dc2c4c5 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 23 Jan 2012 18:47:15 +0000 Subject: fixed '--help' output git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2561 90c681e8-e032-0410-971d-27865f9a5e38 --- src/app/qmmpstarter.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/app/qmmpstarter.cpp') diff --git a/src/app/qmmpstarter.cpp b/src/app/qmmpstarter.cpp index 507880174..36bb87a3d 100644 --- a/src/app/qmmpstarter.cpp +++ b/src/app/qmmpstarter.cpp @@ -260,14 +260,15 @@ void QMMPStarter::printUsage() cout << "--------" << endl; cout << qPrintable(m_option_manager->helpString()) << endl; CommandLineManager::printUsage(); - cout << "--no-start " << qPrintable(tr("Don't start the application")) << endl; - cout << "--help " << qPrintable(tr("Display this text and exit")) << endl; - cout << "--version " << qPrintable(tr("Print version number and exit")) << endl; + cout << "--no-start " << qPrintable(tr("Don't start the application")) << endl; + cout << "--help " << qPrintable(tr("Display this text and exit")) << endl; + cout << "--version " << qPrintable(tr("Print version number and exit")) << endl; cout << qPrintable(tr("Ideas, patches, bugreports send to forkotov02@hotmail.ru")) << endl; } void QMMPStarter::printVersion() { - cout << qPrintable(tr("QMMP version:")) << " " << qPrintable(Qmmp::strVersion()) << endl; - cout << qPrintable(tr("Qt version:")) << " " << QT_VERSION_STR << endl; + cout << qPrintable(tr("QMMP version: %1").arg(Qmmp::strVersion())) << endl; + cout << qPrintable(tr("Compiled with Qt version: %1").arg(QT_VERSION_STR)) << endl; + cout << qPrintable(tr("Using Qt version: %1").arg(qVersion())) << endl; } -- cgit v1.2.3-13-gbd6f