From 888ab49e44b139303e59211705ee65e86acf976c Mon Sep 17 00:00:00 2001 From: "Barak A. Pearlmutter" Date: Sat, 9 Apr 2016 16:36:08 +0100 Subject: [PATCH] add comment listing bugs in --help option output --- app/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/main.cpp b/app/main.cpp index 0cf128f..fae1f06 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -48,6 +48,8 @@ int main(int argc, char *argv[]) // Manage command line arguments from the cpp side 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() << " --default-settings Run cool-retro-term with the default settings"; qDebug() << " --workdir Change working directory to 'dir'";