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?
thanks..
···
--
Posted via http://www.ruby-forum.com/.
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
···
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?
--
be kind whenever possible... it is always possible.
- the dalai lama