Skip to content

Commit

Permalink
fix: remove duplicate line
Browse files Browse the repository at this point in the history
  • Loading branch information
masamerc committed Apr 4, 2024
1 parent 00a903f commit 3be6577
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ func runProfileSwitcher() error {
}

func shouldRunDirectProfileSwitch() bool {
invalidProfiles := []string{"l", "list", "completion", "help", "--help", "v", "version"}
invalidProfiles := []string{"l", "list", "completion", "help", "--help", "-h", "v", "version"}
return len(os.Args) > 1 && !utils.Contains(invalidProfiles, os.Args[1])
}
Expand Down

0 comments on commit 3be6577

Please sign in to comment.