Ruby -W0 bug?

I just tried:

remus:~$ ruby -W0 -e 'warn “hello”'
hello
remus:~$ ruby -v -W0 -e 'warn “hello”'
ruby 1.8.0 (2003-09-12) [i686-linux]
hello

I can understand if -v automatically overrides any instance of -W0, but this
doesn’t seem right. Shouldn’t -W0 suppress any warnings?

-austin

···


austin ziegler * austin@halostatue.ca * Toronto, ON, Canada
software designer * pragmatic programmer * 2003.09.22
* 01.03.40

Hi,

···

In message “ruby -W0 bug?” on 03/09/22, Austin Ziegler austin@halostatue.ca writes:

remus:~$ ruby -W0 -e ‘warn “hello”’
hello
remus:~$ ruby -v -W0 -e ‘warn “hello”’
ruby 1.8.0 (2003-09-12) [i686-linux]
hello

I can understand if -v automatically overrides any instance of -W0, but this
doesn’t seem right. Shouldn’t -W0 suppress any warnings?

You are right. I will fix this.

						matz.