automatically generating a help file

Scott Stagg <[email protected]> Thu, 03 Jul 2008 11:41:23 -0700
Newsgroups gmane.comp.python.optik.user
Message-ID <[email protected]>
Hi all,
   I am trying to write a function that will use an OptionParser object to generate a help file. Ultimately, I will have it generate an HTML file  so the help doc for my program can be viewed from the web. The problem I'm having is that I can't figure out how to have OptionParser return a list of the names of the options I have defined and the corresponding help information. Does anyone have a suggestion on how I could do this?

Thanks,
Scott



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08