mkideal / cli

CLI - A package for building command line app with go
MIT License
730 stars 43 forks source link

Proper error message for missing argument for parameters #23

Closed suntong closed 8 years ago

suntong commented 8 years ago

When the required argument is missing from the cli parameter, cli should point that out, instead of error out on something else:

$ go run 001-hello.go -a ERR! `` couldn't converted to an uint value

Normal case shown here.

mkideal commented 8 years ago

Thanks. I have fix it, see commit 7259422

suntong commented 8 years ago

Yep. Thx!