progrium / darwinkit

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

enumexport error with call to s.Parse #236

Closed programmingkidx closed 4 months ago

programmingkidx commented 7 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: