aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/qmmpstarter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/qmmpstarter.cpp b/src/app/qmmpstarter.cpp
index 323edc049..bb47791af 100644
--- a/src/app/qmmpstarter.cpp
+++ b/src/app/qmmpstarter.cpp
@@ -125,7 +125,7 @@ QMMPStarter::QMMPStarter() : QObject()
tmp_stream.copyfmt(cout);
streambuf* old_stream = cout.rdbuf(tmp_stream.rdbuf());
#endif
- cout << qPrintable(CommandLineManager::executeCommand(key, commands.value(key)));
+ cout << qPrintable(CommandLineManager::executeCommand(key, commands.value(key)).trimmed()) << endl;
#ifdef Q_OS_WIN
string text = tmp_stream.str();
QMessageBox::information(0, tr("Command Line Help"), QString::fromLocal8Bit(text.c_str()));