Skip to content

Commit d94517c

Browse files
committed
merged Swordfish90#705: Add short form of --profile to match documentation
1 parent 327d827 commit d94517c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/qml/ApplicationSettings.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ QtObject {
746746

747747
loadCustomProfiles()
748748

749-
var profileArgPosition = args.indexOf("--profile")
749+
var profileArgPosition = args.indexOf(/-p|--profile/)
750750
if (profileArgPosition !== -1) {
751751
var profileIndex = getProfileIndexByName(
752752
args[profileArgPosition + 1])

0 commit comments

Comments
 (0)