[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-cvs
Subject: [ruby-cvs] ruby, ruby/lib: * lib/optparse.rb (OptionParser::Switch::PlacedArgument): added.
From: nobu () ruby-lang ! org (nobu)
Date: 2003-01-30 8:11:21
[Download RAW message or body]
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 list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic