From 5acf059036b5cbb108a9643062bfc61c6dbd9111 Mon Sep 17 00:00:00 2001 From: "Barak A. Pearlmutter" Date: Mon, 5 Mar 2018 18:15:06 +0000 Subject: [PATCH] remove extra quotes --- app/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/main.cpp b/app/main.cpp index 28c71e1..08d5ea2 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -53,8 +53,7 @@ int main(int argc, char *argv[]) QStringList args = app.arguments(); if (args.contains("-h") || args.contains("--help")) { // BUG: This usage help text goes to stderr, should go to stdout. - // BUG: First line of output is surrounded by double quotes. - qDebug() << "Usage: " + args.at(0) + " [--default-settings] [--workdir ] [--program ] [-p|--profile ] [--fullscreen] [-h|--help]"; + qDebug() << "Usage:" << qPrintable(args.at(0)) << "[--default-settings] [--workdir ] [--program ] [-p|--profile ] [--fullscreen] [-h|--help]"; qDebug() << " --default-settings Run cool-retro-term with the default settings"; qDebug() << " --workdir Change working directory to 'dir'"; qDebug() << " -e Command to execute. This option will catch all following arguments, so use it as the last option.";