зеркало из https://github.com/github/ruby.git
* 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:
Родитель
d78b265839
Коммит
f16b5afcac
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче