From: ara.t.howard@... Date: 2007-03-12T15:28:28+09:00 Subject: Re: optparse, needless argument, mac os x intel On Mon, 12 Mar 2007, Aaron Smith wrote: > I've just started using optparse. I'm hitting this needless argument > error when one of my commandline args excepts strings.. I've looked > around on google seeing that this was a bug that was fixed at some > point. How can I get around it? it means that you defined are argument like this '--foo' but are giving it like this on command line a.rb --foo=value if you want an option to take values use '--foo=value' '--foo=this_can_be_anyword' regards. -a -- be kind whenever possible... it is always possible. - the dalai lama