Skip to content

Commit

Permalink
feat: make license flag case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
wzykubek committed Dec 28, 2024
1 parent 05697da commit 2caeaed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ func main() {
ListTemplates := flag.Bool("list", false, "List available licenses")
flag.Parse()

*License = strings.ToUpper(*License)

if *ListTemplates {
listTemplates()
os.Exit(0)
Expand Down

0 comments on commit 2caeaed

Please sign in to comment.