aboutsummaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
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 b3986dc625..d3807146a9 100644
--- a/ruby.c
+++ b/ruby.c
@@ -935,7 +935,7 @@ process_options(VALUE arg)
break;
if (!strchr("IdvwWrK", *s))
rb_raise(rb_eRuntimeError,
- "illegal switch in RUBYOPT: -%c", *s);
+ "invalid switch in RUBYOPT: -%c", *s);
s = moreswitches(s, opt);
}
}