ruby-changes:62850
From: Nobuyoshi <ko1@a...>
Date: Mon, 7 Sep 2020 13:29:38 +0900 (JST)
Subject: [ruby-changes:62850] 0dbf6e46fb (master): [Feature #17157] removed -T command line option
https://git.ruby-lang.org/ruby.git/commit/?id=0dbf6e46fb From 0dbf6e46fb88a1c8c48ce5f67ac881a77de76526 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 7 Sep 2020 00:59:53 +0900 Subject: [Feature #17157] removed -T command line option diff --git a/ruby.c b/ruby.c index c3ee2ff..cfde2ff 100644 --- a/ruby.c +++ b/ruby.c @@ -1289,18 +1289,6 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt) https://github.com/ruby/ruby/blob/trunk/ruby.c#L1289 } goto reswitch; - case 'T': - { - size_t numlen; - - if (*++s) { - scan_oct(s, 2, &numlen); - s += numlen; - } - } - rb_warn("ruby -T will be removed in Ruby 3.0"); - goto reswitch; - case 'I': forbid_setid("-I"); if (*++s) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/