Fix option parsing (raise an error in case of unknown options)
Merge pull request #12 from jouvin/master

Minor fix for option parsing