diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-01-23 18:47:15 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-01-23 18:47:15 +0000 |
| commit | c154161f2bcdf0ad1b9b194464b0e2de3dc2c4c5 (patch) | |
| tree | 45a05af6a9ca813edb16810bfbd7f0cf1276cc23 /src/app/qmmpstarter.cpp | |
| parent | 06552c3c142f2c1bebb7d8f54a743bc08963cc25 (diff) | |
| download | qmmp-c154161f2bcdf0ad1b9b194464b0e2de3dc2c4c5.tar.gz qmmp-c154161f2bcdf0ad1b9b194464b0e2de3dc2c4c5.tar.bz2 qmmp-c154161f2bcdf0ad1b9b194464b0e2de3dc2c4c5.zip | |
fixed '--help' output
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2561 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/app/qmmpstarter.cpp')
| -rw-r--r-- | src/app/qmmpstarter.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
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; } |
