Fixes deadlock when --help or invalid option is passed as command argument.
Merge pull request #79 from doggan/option_parsing

Fixes deadlock when --help or invalid option is passed as command argume...