cgag / loc

Count lines of code quickly.
MIT License
2.29k stars 126 forks source link

Fixes #48: Include usage examples for users #61

Closed erewok closed 6 years ago

erewok commented 6 years ago

Description

I looked at the clap docs for modifying the usage so that all of this information is emitted on loc -h, but it seems like you have to completely overwrite the auto-usage information in order to produce that?

It's still possible, of course, to do that, but then it seems like you have to remember to change the usage every time you want to add or remove an optional or required argument.

cgag commented 6 years ago

sweet, thanks a bunch