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:
parent
b22b3f03f4
commit
0dbf6e46fb
1 changed files with 0 additions and 12 deletions
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…
Add table
Add a link
Reference in a new issue