Pass list option with enums

Hi,

I tried to create a pass that receives ListOption consist of enums but failed to do so:

   ListOption<"enumList", "enum-list",
      "myNamepsace::MemorySpaceEnum",
      "Comma-separated list of enums as parameter to the pass.",
      "llvm::cl::OneOrMore">

Is it supported? am I defining the option as expected?

Thanks,
Aviad