jcoglan / vault

Generates safe passwords so you never need to remember them
https://getvau.lt
471 stars 64 forks source link

Add -h/--help option #9

Closed wjt closed 10 years ago

wjt commented 11 years ago

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?

jcoglan commented 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 :/

wjt commented 10 years ago

Haha, yeah, that's a lot more straightforward. :) No worries!