4 Commits

2 changed files with 2 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ int main(int argc, char *argv[])
cout << " -p|--profile <prof> Run cool-retro-term with the given profile." << '\n'; cout << " -p|--profile <prof> Run cool-retro-term with the given profile." << '\n';
cout << " -h|--help Print this help." << '\n'; cout << " -h|--help Print this help." << '\n';
cout << " --verbose Print additional information such as profiles and settings." << '\n'; cout << " --verbose Print additional information such as profiles and settings." << '\n';
cout << " -v|--version Print the program name and version." << '\n';
return 0; return 0;
} }

View File

@@ -746,7 +746,7 @@ QtObject {
loadCustomProfiles() loadCustomProfiles()
var profileArgPosition = args.indexOf("--profile") var profileArgPosition = args.indexOf(/-p|--profile/)
if (profileArgPosition !== -1) { if (profileArgPosition !== -1) {
var profileIndex = getProfileIndexByName( var profileIndex = getProfileIndexByName(
args[profileArgPosition + 1]) args[profileArgPosition + 1])