1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[Feature #17157] removed -T command line option

This commit is contained in:
Nobuyoshi Nakada 2020-09-07 00:59:53 +09:00
parent b22b3f03f4
commit 0dbf6e46fb
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

12
ruby.c
View file

@ -1289,18 +1289,6 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt)
}
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)