More detailed error message during option parsing

Fixes #142