ruby -W0 bug?

A

Austin Ziegler

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
 
Y

Yukihiro Matsumoto

Hi,

In message "ruby -W0 bug?"

|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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
SterlingLa
Top