akamensky / argparse

Argparse for golang. Just because `flag` sucks
MIT License
604 stars 62 forks source link

refine Usage to print last command help #34

Closed zuoxiaofeng closed 5 years ago

zuoxiaofeng commented 5 years ago

when sub command args parse failed, it is useful to check which sub command happened and print it's usage message, but not always print top level command usage.