I'm implementing a LLVM pass, and would like to turn some options on or off via the command line, especially I'd like to have a -v verbose mode for my pass.

I couldn't find a mechanism for passing command line flags mentioned in any of the docs, does one exist?