diff options
| author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-18 23:13:15 +0000 |
|---|---|---|
| committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-18 23:13:15 +0000 |
| commit | 16589c59026e67263b217a6a2225993cb02d3eb1 (patch) | |
| tree | 74cdbc9561639784e7dedf277804e585259216f3 /sample/cal.rb | |
| parent | 90420defb89b6ad659b9e177c31a2acfff57b1b3 (diff) | |
| download | ruby-16589c59026e67263b217a6a2225993cb02d3eb1.tar.gz ruby-16589c59026e67263b217a6a2225993cb02d3eb1.tar.xz ruby-16589c59026e67263b217a6a2225993cb02d3eb1.zip | |
use warn() instead of $stderr.puts().
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/cal.rb')
| -rw-r--r-- | sample/cal.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/cal.rb b/sample/cal.rb index e8452349d..e17c5e2a3 100644 --- a/sample/cal.rb +++ b/sample/cal.rb @@ -32,7 +32,7 @@ $tab = $cc = 'gb' def usage - $stderr.puts 'usage: cal [-c iso3166] [-jmty] [[month] year]' + warn 'usage: cal [-c iso3166] [-jmty] [[month] year]' exit 1 end |
