1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-01-18 12:15:27 +00:00

Add short form of --profile to match documentation

This commit is contained in:
Nick Hanley 2022-03-03 17:55:20 -05:00
parent 74ae511f92
commit bf85438483

View File

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