title: How to use pdoc on a script that takes command line args?
body: <p>I'm trying to use pdoc to document my python script but I'm having an issue due to the fact that my program requires the use of command line args. </p>
  
  <p>My program is called as follows: <code>myprogram.py -p arg1 -s arg2</code></p>
  
  <p>And I try to run pdoc as follows: <code>pdoc --html myprogram</code></p>
  
  <p>But I get an error saying <code>pdoc: error: the following arguments are required: -p</code></p>
  
  <p>But if I try to run pdoc like such: <code>pdoc --html myprogram.py -p arg1 -s arg2</code>, I get this error: </p>
  
  <p><code>pdoc: error: unrecognized arguments: -p arg1 -s arg2</code></p>
  
  <p>IS there a way to run pdoc on a module that requires command line args?</p>