diff --git a/ChangeLog b/ChangeLog index d88333fe32..67623aa8e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Sep 10 22:59:43 2006 Nobuyoshi Nakada + + * instruby.rb (parse_args): remove splat. + Sun Sep 10 20:25:30 2006 Tadayoshi Funaba * lib/date.rb, lib/date/format.rb: updated based on date2 3.9.1. diff --git a/instruby.rb b/instruby.rb index bda4ead3af..d561bb68af 100644 --- a/instruby.rb +++ b/instruby.rb @@ -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