Fix option parser.
Merge remote-tracking branch 'origin/devel' into devel