progrium / darwinkit

Native Mac APIs for Go. Previously known as MacDriver
MIT License
5.04k stars 160 forks source link

enumexport error with call to s.Parse #236

Closed programmingkidx closed 8 months ago

programmingkidx commented 11 months ago

When I try to run the enumexport tool like this 'go run ./generate/tools/enumexport.go', I saw this error:

# command-line-arguments
generate/tools/enumexport.go:158:17: not enough arguments in call to s.Parse
    have ()
    want (string)
generate/tools/enumexport.go:180:20: not enough arguments in call to typ.Parse
    have ()
    want (string)

I see the same error when I run it like this: 'go run ./generate/tools/enumexport.go appkit > ./generate/modules/enums/macOS/appkit'

My Info: