generate_options: fix bug hiding qpoases options
Extend optionfunctionality to support enum-type entries
Using enum-type options