Compare commits

...

3 Commits

Author SHA1 Message Date
Nick Hanley bb4c7ddee6 Add short form of --profile to match documentation 2024-10-11 11:04:09 +02:00
seeseemelk 4bc440e906 Merge pull request 'Document the --version option' (#706) from njhanley/document-version-option into master
Reviewed-on: #706
2024-10-11 11:03:07 +02:00
Nick Hanley 27b248d851 Document the --version option 2024-10-11 11:02:46 +02:00
2 changed files with 2 additions and 1 deletions
+1
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 << " -h|--help Print this help." << '\n';
cout << " --verbose Print additional information such as profiles and settings." << '\n';
cout << " -v|--version Print the program name and version." << '\n';
return 0;
}
+1 -1
View File
@@ -746,7 +746,7 @@ QtObject {
loadCustomProfiles()
var profileArgPosition = args.indexOf("--profile")
var profileArgPosition = args.indexOf(/-p|--profile/)
if (profileArgPosition !== -1) {
var profileIndex = getProfileIndexByName(
args[profileArgPosition + 1])