mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* instruby.rb (parse_args): remove splat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d78b265839
commit
f16b5afcac
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
Sun Sep 10 22:59:43 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* instruby.rb (parse_args): remove splat.
|
||||
|
||||
Sun Sep 10 20:25:30 2006 Tadayoshi Funaba <tadf@dotrb.org>
|
||||
|
||||
* lib/date.rb, lib/date/format.rb: updated based on date2 3.9.1.
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ def parse_args()
|
|||
opt.on('--dest-dir=DIR') {|dir| $destdir = dir}
|
||||
opt.on('--make=COMMAND') {|make| $make = make}
|
||||
opt.on('--mantype=MAN') {|man| $mantype = man}
|
||||
opt.on('--make-flags=FLAGS', '--mflags', Shellwords) do |*v|
|
||||
opt.on('--make-flags=FLAGS', '--mflags', Shellwords) do |v|
|
||||
if arg = v.first
|
||||
arg.insert(0, '-') if /\A[^-][^=]*\Z/ =~ arg
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue