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