[options] Tablegen based OptParser


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.


Shankar Easwaran