Adapted gen.pl with 'listcats' This commit is a part of "--help me if you can" Closes #5680
Closes https://github.com/curl/curl/pull/2503
Now all options are in the new system.