From: nobu.nokada@... Date: 2003-01-21T04:39:09+09:00 Subject: Re: 2 optparse questions Hi, At Tue, 21 Jan 2003 04:27:47 +0900, Matt Armstrong wrote: > ruby-cvs -roptparse -e 'ARGV.options{|opt|opt.on("--dir=[DIR]"){|d|@dir=d};opt.parse!};p self' -- --dir here > # > > Optional arguments are not "greedy" but I would expect them to be. It sounds non-optional. If it were "greedy", how do you omit the option value? -- Nobu Nakada