optparse question

Peter Otten __peter__ at web.de
Tue Jan 27 14:29:02 EST 2009


Pat wrote:

> The question was it possible to add a simple flag like 'd-' to optparse
> with no other parameters?

Do you mean "d-" or "-d"? If the latter, what's wrong with Robert Kern's
answer?

Peter




More information about the Python-list mailing list