While working with optparse/optik, I've found usefull a
couple of new actions.
While I did implement most of them subclassing Option,
OptionParser, HelpFormatter and/or children, I thought
I'd propose them here as they might be usefull for
other users as well.
One of them is the new action "append_const", well, you
can guess what i does.
A patch against latest CVS is attached.
Implementation (patch against CVS)
Logged In: YES
user_id=14422
Looks pretty straightforward. Can you please post to
optik-users and explain what you use this for? I'm curious,
but it will also make it easier to accept your patch if I
know why it's needed!
(Another thing that would help: provide a patch to
test/test_optik.py at the same time.)
Logged In: YES
user_id=14422
Just checked in Andrea's patch (from the mailing list) in
r462. Docs patched in r463.