Fixed bug in argument parsing
Merge pull request #4 from wedaly/will/fix-arg-parse

Fixed bug in argument parsing