use of optimist for argv handling
Merge pull request #8 from smhg/master

handle command line args with optimist