From 83684e8882d04978b3bc0b4894d3a7926d7d195e Mon Sep 17 00:00:00 2001 From: "Barak A. Pearlmutter" Date: Tue, 14 Jan 2020 16:37:22 +0000 Subject: [PATCH] squelch ugly quotes on 1st line of cool-retro-term --usage --- app/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/main.cpp b/app/main.cpp index 1bccbd0..ec56f1d 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -61,8 +61,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().noquote() << "Usage: " + 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.";