logo       

ruby, ruby/lib: * lib/optparse.rb (OptionParser::Switch::PlacedArgument): a: msg#00497

lang.ruby.cvs

Subject: ruby, ruby/lib: * lib/optparse.rb (OptionParser::Switch::PlacedArgument): added.

nobu Thu, 30 Jan 2003 08:11:21 +0000

Modified files:
ruby:
ChangeLog
ruby/lib:
optparse.rb
Log:
* lib/optparse.rb (OptionParser::Switch::PlacedArgument): added.
if the next argument doesn't start with '-', use it as the
value.

* lib/optparse.rb (OptionParser::make_switch): fixed a bug of
pattern.

* lib/optparse.rb (Array): no need to guard.

Revision Changes Path
1.1470 +11 -0 ruby/ChangeLog

http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.1469&r2=1.1470
1.8 +42 -25 ruby/lib/optparse.rb

http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/optparse.rb?cvsroot=src&r1=1.7&r2=1.8




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise