@@ -49,23 +49,23 @@ int main(int argc, char *argv[])
49
49
50
50
if (argc>1 && (!strcmp (argv[1 ]," -h" ) || !strcmp (argv[1 ]," --help" ))) {
51
51
QTextStream cout (stdout, QIODevice::WriteOnly);
52
- cout << " Usage: " << argv[0 ] << " [--default-settings] [--workdir <dir>] [--program <prog>] [-p|--profile <prof>] [--fullscreen] [-h|--help]" << endl ;
53
- cout << " --default-settings Run cool-retro-term with the default settings" << endl ;
54
- cout << " --workdir <dir> Change working directory to 'dir'" << endl ;
55
- cout << " -e <cmd> Command to execute. This option will catch all following arguments, so use it as the last option." << endl ;
56
- cout << " -T <title> Set window title to 'title'." << endl ;
57
- cout << " --fullscreen Run cool-retro-term in fullscreen." << endl ;
58
- cout << " -p|--profile <prof> Run cool-retro-term with the given profile." << endl ;
59
- cout << " -h|--help Print this help." << endl ;
60
- cout << " --verbose Print additional information such as profiles and settings." << endl ;
52
+ cout << " Usage: " << argv[0 ] << " [--default-settings] [--workdir <dir>] [--program <prog>] [-p|--profile <prof>] [--fullscreen] [-h|--help]" << ' \n ' ;
53
+ cout << " --default-settings Run cool-retro-term with the default settings" << ' \n ' ;
54
+ cout << " --workdir <dir> Change working directory to 'dir'" << ' \n ' ;
55
+ cout << " -e <cmd> Command to execute. This option will catch all following arguments, so use it as the last option." << ' \n ' ;
56
+ cout << " -T <title> Set window title to 'title'." << ' \n ' ;
57
+ cout << " --fullscreen Run cool-retro-term in fullscreen." << ' \n ' ;
58
+ cout << " -p|--profile <prof> Run cool-retro-term with the given profile." << ' \n ' ;
59
+ cout << " -h|--help Print this help." << ' \n ' ;
60
+ cout << " --verbose Print additional information such as profiles and settings." << ' \n ' ;
61
61
return 0 ;
62
62
}
63
63
64
64
QString appVersion (" 1.2.0" );
65
65
66
66
if (argc>1 && (!strcmp (argv[1 ]," -v" ) || !strcmp (argv[1 ]," --version" ))) {
67
67
QTextStream cout (stdout, QIODevice::WriteOnly);
68
- cout << " cool-retro-term " << appVersion << endl ;
68
+ cout << " cool-retro-term " << appVersion << ' \n ' ;
69
69
return 0 ;
70
70
}
71
71
0 commit comments