mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-10-30 22:54:21 +00:00 
			
		
		
		
	squelch ugly quotes on 1st line of cool-retro-term --usage
This commit is contained in:
		| @@ -61,8 +61,7 @@ int main(int argc, char *argv[]) | |||||||
|     QStringList args = app.arguments(); |     QStringList args = app.arguments(); | ||||||
|     if (args.contains("-h") || args.contains("--help")) { |     if (args.contains("-h") || args.contains("--help")) { | ||||||
|         // BUG: This usage help text goes to stderr, should go to stdout. |         // BUG: This usage help text goes to stderr, should go to stdout. | ||||||
|         // BUG: First line of output is surrounded by double quotes. |         qDebug().noquote() << "Usage: " + args.at(0) + " [--default-settings] [--workdir <dir>] [--program <prog>] [-p|--profile <prof>] [--fullscreen] [-h|--help]"; | ||||||
|         qDebug() << "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() << "  --default-settings  Run cool-retro-term with the default settings"; | ||||||
|         qDebug() << "  --workdir <dir>     Change working directory to 'dir'"; |         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."; |         qDebug() << "  -e <cmd>            Command to execute. This option will catch all following arguments, so use it as the last option."; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user