> > (3) Create a filter module that reads sys.argv, replaces leading "+" signs > with "-" signs, and then stuffs it back into sys.argv before optparse gets > to see it.
That's not even necessary, the optparser will work on a passed argument list. No need to alter sys.argv. Diez -- http://mail.python.org/mailman/listinfo/python-list