From: Jason Roelofs Date: 2009-04-27T22:11:39+09:00 Subject: Re: optparse how to emulate the "--" pseudo-flag? On Mon, Apr 27, 2009 at 8:25 AM, mdiam wrote: > Another question about OptionParser class: > > How can we add the classical "--" pseudo-option which says not > to parse the following flags as in > > rm -- -file_name_to_delete_with_a_dash_in_it > > Thank you very much > -- Maurice > > > OptParse already handles this and has for some time. Jason