Add short form of --profile to match documentation #705

Open
njhanley wants to merge 1 commits from njhanley/add-short-profile-option into master
Showing only changes of commit bb4c7ddee6 - Show all commits

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])