Does the LLVM command line support specifying the range of option?

Hi all, I am adding a command line option to my project writing based llvm, and hoping to specify the range of this option (e.g. greater than 0). Can current llvm command line support this?

I think you can implement your own parser (via the third template argument of cl::opt) to do validation during parsing