summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-12 14:17:33 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-12 14:17:33 +0000
commit1232fd4a9b4460728ba92e2997144413ef6849b1 (patch)
treec3c6807f77ac73dd913ecc233fbba7980e2eeee3 /ruby.c
parent3b91a5dc33e0e8dca3b3cc77805c872e9af68145 (diff)
* ruby.c (proc_options): -W should be allowed in RUBYOPT
environment variable. [ruby-core:12118] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index 67126f9144..f9788edf5c 100644
--- a/ruby.c
+++ b/ruby.c
@@ -775,7 +775,7 @@ proc_options(argc, argv)
}
}
if (!*s) break;
- if (!strchr("IdvwrK", *s))
+ if (!strchr("IdvwWrK", *s))
rb_raise(rb_eRuntimeError, "illegal switch in RUBYOPT: -%c", *s);
s = moreswitches(s);
}