feat: make license flag case insensitive
This commit is contained in:
parent
c27eed3202
commit
8a6539bcf8
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