Silent help
John Coldrick <[email protected]> Thu, 21 Oct 2004 16:34:46 -0400
| Newsgroups | gmane.comp.python.optik.user |
|---|---|
| Organization | Axyz Animation Inc |
| Message-ID | <[email protected]> |
Hit here - first off - thanks for the great module. I'm a Python noob, and after perusing getopt and then optparse, well, I upgraded all the machines to Python 2.3. :) On to my questions: 1. From what I can tell, documentation for customizing the '-h' output is sparse/terse. I don't have the time/expertise to figure out the code roght now, but is the above statement true? At least I can stop looking. :) 2. Part of my need for the above is to "hide" a few parameters from the user. My program can be called two ways - once by the user, and later by spawning processes in a cluster with their own params. I wanted to keep the code all-in-one, so right now I've clustered these "bad" params at the end of the help, with a header saying to not use them. I was able to at least figure that much out. :) However, is there a simple/quick way to tag certain params from showing up when the user enters 'foo.py -h'? Cheers, J.C. -- John Coldrick www.axyzfx.com Axyz Animation Houdini/Renderman/Discreet 425 Adelaide St W 416-504-0425 Toronto, ON Canada [email protected] M5V 1S4 ----------------------------------------------------------------------- "Yeah, but you're taking the universe out of context." ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl