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?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.