diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-24 03:01:17 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-24 03:01:17 +0000 |
commit | df18044d22f93db7780bcf5784689b69572227fc (patch) | |
tree | 4aa8d4557e7ad6826dade835090a1768b851e89d /lib/getopts.rb | |
parent | c2afc0880bf9f5bdcca15742547598e6120379d4 (diff) |
* lib/getopts.rb: should warn only if verbose mode.
fixed: [ruby-dev:26201]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/getopts.rb')
-rw-r--r-- | lib/getopts.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getopts.rb b/lib/getopts.rb index f63bbfef6f..ddb0639db1 100644 --- a/lib/getopts.rb +++ b/lib/getopts.rb @@ -15,7 +15,7 @@ # rewritten by Akinori MUSHA <knu@ruby-lang.org> # -warn "Warning:#{caller[0].sub(/:in `.*'\z/, '')}: getopts is deprecated after Ruby 1.8.1; use optparse instead" if caller[0] +warn "Warning:#{caller[0].sub(/:in `.*'\z/, '')}: getopts is deprecated after Ruby 1.8.1; use optparse instead" if caller[0] and $VERBOSE $RCS_ID=%q$Header$ |