Re: Various string changes

Johan Svedberg <[email protected]> Sat, 27 Dec 2003 19:13:33 +0100
Newsgroups gmane.comp.python.optik.user
Message-ID <[email protected]>
* Dec 27 18:40 David Goodger <[email protected]>:
> Johan Svedberg wrote:
> > Also, I've been trying to change the description for the built-in
> > "-h, --help"-option without success. I suspect one should use
> > format_help(), but I havn't figured out just how. So some code for
> > this would also be great... :-)
>
> When you instantiate the OptionParser object, pass the keyword
> argument & value "add_help_option=None".  Then just add your own
> -h/--help option, same as any other.

Ah, ofcourse, thanks for that.

-- 
Johan Svedberg, [email protected], http://johan.svedberg.pp.se/


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click