[Feature #17157] removed -T command line option
This commit is contained in:
parent
b22b3f03f4
commit
0dbf6e46fb
12
ruby.c
12
ruby.c
@ -1289,18 +1289,6 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt)
|
|||||||
}
|
}
|
||||||
goto reswitch;
|
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':
|
case 'I':
|
||||||
forbid_setid("-I");
|
forbid_setid("-I");
|
||||||
if (*++s)
|
if (*++s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user