From: Joel VanderWerf Date: 2009-02-01T05:40:15+09:00 Subject: Re: OptParse bug? Roger Pack wrote: > With this file: > > C:\dev\thesis_p2pwebcode\src>cat example.rb > require 'optparse' > > OptionParser.new do |opts| > > opts.on('-p', '--do_multiples_with_variant=NAME', 'multiples variant > ex: ') do |name| > end > end.parse! > > > I get the following output: > Usage: example [options] > -p=NAME multiples variant ex: > --do_multiples_with_variant > > > however it doesn't actually accept -p=NAME > it accepts -pNAME > > Anybody know if this is expected? > Thanks! > -=r Seems to be a unix standard: http://www.faqs.org/docs/artu/ch10s05.html -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407