mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d666a5183c
commit
eac185d848
1 changed files with 1 additions and 1 deletions
|
@ -1118,7 +1118,7 @@ Default options, which never appear in option summary.
|
||||||
end
|
end
|
||||||
begin
|
begin
|
||||||
opt, sw, val = sw.parse(rest, argv) {|*exc| raise(*exc)}
|
opt, sw, val = sw.parse(rest, argv) {|*exc| raise(*exc)}
|
||||||
sw.yield(val) if sw
|
sw.yield(*val) if sw
|
||||||
rescue ParseError
|
rescue ParseError
|
||||||
raise $!.set_option(arg, rest)
|
raise $!.set_option(arg, rest)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue