diff --git a/main.go b/main.go index 8b3aef8..4a3aed2 100644 --- a/main.go +++ b/main.go @@ -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)