[options] Tablegen based OptParser

Hi,

With the GNU linker, the -z option has various suboptions.

With OptParser, Is there a way to accomplish handling a command line option with various sub options, similar to how cl::EnumVal is used ?

If there are any thoughts on how to accomplish this, it will be very useful too.

Thanks

Shankar Easwaran