summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-13 03:48:30 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-13 03:48:30 +0000
commit5504b5c8769826e6dcbea7bca9f37d961ebaf2d8 (patch)
tree5c73943c20cf0f7a1ad864330952224bf66f324e /ruby.c
parent3a7020854d43c4d29ca5cd9013e3af139f378548 (diff)
eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1062 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 83fbc72176..9649b69af4 100644
--- a/ruby.c
+++ b/ruby.c
@@ -576,7 +576,7 @@ proc_options(argc, argv)
goto reswitch;
case '-':
- if (!s[1]) {
+ if (!s[1] || s[1] == '\r' && !s[2]) {
argc--,argv++;
goto switch_end;
}