summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index 29085979fa..5420b94aa2 100644
--- a/ruby.c
+++ b/ruby.c
@@ -792,7 +792,8 @@ proc_options(int argc, char **argv, struct cmdline_options *opt)
case 'U':
set_internal_encoding_once(opt, "UTF-8", 0);
- break;
+ ++s;
+ goto reswitch;
case 'K':
if (*++s) {