From cde930a4a4005da1d8e1a1ced719433fd07e3d3f Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 7 Mar 2005 00:20:16 +0000 Subject: * string.c (rb_str_cmp_m): should not return false but nil. fixed: [ruby-dev:25811] * lib/cgi-lib.rb: add deprecation warning. [ruby-dev:25499] getopts.rb, parsearg.rb, importenv.rb as well. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/parsearg.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/parsearg.rb') diff --git a/lib/parsearg.rb b/lib/parsearg.rb index d5f3c9638d..9c67aca43e 100644 --- a/lib/parsearg.rb +++ b/lib/parsearg.rb @@ -10,6 +10,8 @@ # # +warn "Warning:#{caller[0].sub(/:in `.*'\z/, '')}: parsearg is deprecated after Ruby 1.8.1; use optparse instead" + $RCS_ID=%q$Header$ require "getopts" -- cgit v1.2.3