feat: make license flag case insensitive
This commit is contained in:
parent
571738c77a
commit
2cf10b9a4b
2
main.go
2
main.go
@ -88,6 +88,8 @@ func main() {
|
|||||||
ListTemplates := flag.Bool("list", false, "List available licenses")
|
ListTemplates := flag.Bool("list", false, "List available licenses")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
|
*License = strings.ToUpper(*License)
|
||||||
|
|
||||||
if *ListTemplates {
|
if *ListTemplates {
|
||||||
listTemplates()
|
listTemplates()
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user