Closed wjt closed 10 years ago
Hey Will, sorry I didn't merge this when you sent it. Thing is, I already had --help
implemented on another branch where I was doing a lot of other unrelated work. I've just pulled the bits of that that I should release into master
, and left the big-scary-not-going-to-merge-yet feature where it is. I went with a simple text file that gets printed to stdout: https://github.com/jcoglan/vault/blob/master/node/usage.txt.
Thanks for the prompt to get this done, but sorry I'm not merging your code :/
Haha, yeah, that's a lot more straightforward. :) No worries!
Really, a lot of this should be folded into
optparser.js
, but I leave whether to do that up to your taste.Then again, there must be an existing getopt-like for Node which already does generating nicely-formatted help output, surely?