Fixes #37 cli option parsing