How to send pass a arg while compiling through clang

I have wrote a llvm pass and make a opt :
static cl::optstd::string cc(
“ccj”,
cl::desc(“cc”),
cl::NotHidden, cl::init(“”),
);

  1. How can I add this arg while compiling by clang instead of opt
    I have tried " -mllvm " but unused
  2. How can I mark this arg required