mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
c2afc0880b
commit
df18044d22
2 changed files with 6 additions and 1 deletions
|
@ -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$
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue