Fixed command-line options parser
Merge pull request #3 from strider/master

Fixed command-line options parser