Bug #746: typo in help
http://redmine.ruby-lang.org/issues/show/746

Author: Patrik Wenger
Status: Open, Priority: Low

The declaration about the default value for warnings seems to be wrong.
It reads that it's 2 (verbose). But in reality it's 1 (medium).

$ ruby -h
...
  -W[level]       set warning level; 0=silence, 1=medium, 2=verbose (default)
...


ruby -W0 -e 'p $-w' # => nil
ruby -W1 -e 'p $-w' # => false
ruby -W2 -e 'p $-w' # => true
ruby     -e 'p $-w' # => false

Regarding to the help text, the last command should print "true".


----------------------------------------
http://redmine.ruby-lang.org