Commit graph

2 commits

Author SHA1 Message Date
yugui
19ad6658b5 merges r23286 from trunk into ruby_1_9_1.
--
* lib/optparse.rb (OptionParser#parse_in_order): do not make an
  option from non-option argument.  [ruby-dev:38333]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-11 15:05:43 +00:00
nobu
4dada1c8a2 * lib/optparse.rb (OptionParser::Switch::PlacedArgument::parse):
do not remove next argument if empty value is placed.

* test/optparse: added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05 10:09:58 +00:00