Extending help-string in optparse?

Magnus Lie Hetland mlh at furu.idi.ntnu.no
Thu Jan 23 08:55:05 EST 2003


If I want to use cvs-like commands in addition to options with
optparse, I can (as I was tipped about) use two (or more)
OptionParsers to parse parts of the command line. However, it seems
that making the --help string helpful wrt. my commands (or other
arguments other than options, for that matter) isn't all that easy...
Or am I missing some feature here?

-- 
Magnus Lie Hetland
http://hetland.org




More information about the Python-list mailing list