1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2024-10-05 10:30:50 +01:00

squelch ugly quotes on 1st line of cool-retro-term --usage

This commit is contained in:
Barak A. Pearlmutter 2020-01-14 16:37:22 +00:00
parent 1ed7d077a9
commit 83684e8882

View File

@ -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 <dir>] [--program <prog>] [-p|--profile <prof>] [--fullscreen] [-h|--help]";
qDebug().noquote() << "Usage: " + args.at(0) + " [--default-settings] [--workdir <dir>] [--program <prog>] [-p|--profile <prof>] [--fullscreen] [-h|--help]";
qDebug() << " --default-settings Run cool-retro-term with the default settings";
qDebug() << " --workdir <dir> Change working directory to 'dir'";
qDebug() << " -e <cmd> Command to execute. This option will catch all following arguments, so use it as the last option.";