@@ -11,6 +11,7 @@ TruffleRuby has the same command-line interface as our compatible MRI version.
11
11
``` shell
12
12
Usage: truffleruby [switches] [--] [programfile] [arguments]
13
13
-0[octal] specify record separator (\0 , if no argument)
14
+ (-00 for paragraph mode, -0777 for slurp mode)
14
15
-a autosplit mode with -n or -p (splits $_ into $F )
15
16
-c check syntax only
16
17
-Cdirectory cd to directory before executing your script
@@ -33,9 +34,11 @@ Usage: truffleruby [switches] [--] [programfile] [arguments]
33
34
set warning level; 0=silence, 1=medium, 2=verbose
34
35
-x[directory] strip off text before #!ruby line and perhaps cd to directory
35
36
--copyright print the copyright
36
- --enable={jit|rubyopt|...}[,...], --disable={jit|rubyopt|...}[,...]
37
+ --enable={rubyopt|...}[,...]
38
+ --disable={rubyopt|...}[,...]
37
39
enable or disable features. see below for available features
38
- --external-encoding=encoding, --internal-encoding=encoding
40
+ --external-encoding=encoding
41
+ --internal-encoding=encoding
39
42
specify the default external or internal character encoding
40
43
--backtrace-limit=num
41
44
limit the maximum length of backtrace
@@ -55,6 +58,7 @@ Features:
55
58
Warning categories:
56
59
deprecated deprecated features
57
60
experimental experimental features
61
+ performance performance issues
58
62
59
63
Runtime options:
60
64
--polyglot Run with all other guest languages accessible.
0 commit comments