Fixed conversion between underscore and camelcase style of options
Merged pull request #18