From c8447f25c63dcfb1abcca63dd27f8e345c1b8c4d Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 4 May 2008 12:10:13 +0000 Subject: * lib/getoptlong.rb: use $stderr instead of $deferr. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/getoptlong.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/getoptlong.rb') diff --git a/lib/getoptlong.rb b/lib/getoptlong.rb index 3ebbf3b1b..4cfb5fbd2 100644 --- a/lib/getoptlong.rb +++ b/lib/getoptlong.rb @@ -151,7 +151,7 @@ class GetoptLong @argument_flags = Hash.new # - # Whether error messages are output to $deferr. + # Whether error messages are output to $stderr. # @quiet = FALSE @@ -380,7 +380,7 @@ class GetoptLong # Set an error (a protected method). # def set_error(type, message) - $deferr.print("#{$0}: #{message}\n") if !@quiet + $stderr.print("#{$0}: #{message}\n") if !@quiet @error = type @error_message = message -- cgit