Adapted gen.pl with 'listcats' This commit is a part of "--help me if you can" Closes #5680
See MANPAGE.md for the description of how this works. Each command line option is now described in a separate .d file.