krystal / katapult-cli

CLI tool to interact with Katapult API
MIT License
1 stars 1 forks source link

Passing in -h or --help causes an error #36

Closed jimeh closed 3 years ago

jimeh commented 3 years ago

Minor issue I noticed on the main branch just now:

$ go run ./cmd/katapult --help
2021/08/12 13:55:18 A fatal error occurred: pflag: help requested
exit status 1
$ go run ./cmd/katapult -h
2021/08/12 13:55:22 A fatal error occurred: pflag: help requested
exit status 1