Compare commits
4 Commits
b69610d7f3
...
njhanley/a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb4c7ddee6 | ||
| 4bc440e906 | |||
|
|
27b248d851 | ||
| e3c2e024bb |
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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])
|
||||||
|
|||||||
Reference in New Issue
Block a user