How to add cmd argument to rustdoc

I'm making a tool with rustdoc, and I want to add some cmd arguments to it.
For example, I will use rustdoc --my-option=123, and I want it to be compatible to cargo doc so that I can use cargo doc --my-option=123. How can I do it?