Add a showUsage helper #13

wants to merge 3 commits into from

2 participants


Nopt is a great tool for option parsing, but I miss a show usage message generator.

I've implemented a very simple one on top of nopt. I hope you will find it useful.

It doesn't change the behaviour of the rest of nopt, and it was implemented in a separate file.

This pull request also solve #7.



Do you prefer that I publish this feature in npm ?
The name could be nopt-usage.

npm member

Doing this as a separate module would be better.

@isaacs isaacs closed this Jan 17, 2013
@Filirom1 Filirom1 referenced this pull request in Filirom1/findup Jan 6, 2014

update nopt dependency #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment