1
0

feat: make license flag case insensitive

This commit is contained in:
Wiktor Zykubek 2024-12-28 02:16:58 +01:00
parent 2e5ea36fef
commit 35181dbfe4
Signed by: wzykubek
GPG Key ID: 2221881F957D89B9

View File

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