Skip to content

Commit e78c2e9

Browse files
committed
Update doc/user/options.md
1 parent 7cda9fc commit e78c2e9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/user/options.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ TruffleRuby has the same command-line interface as our compatible MRI version.
1111
```shell
1212
Usage: truffleruby [switches] [--] [programfile] [arguments]
1313
-0[octal] specify record separator (\0, if no argument)
14+
(-00 for paragraph mode, -0777 for slurp mode)
1415
-a autosplit mode with -n or -p (splits $_ into $F)
1516
-c check syntax only
1617
-Cdirectory cd to directory before executing your script
@@ -33,9 +34,11 @@ Usage: truffleruby [switches] [--] [programfile] [arguments]
3334
set warning level; 0=silence, 1=medium, 2=verbose
3435
-x[directory] strip off text before #!ruby line and perhaps cd to directory
3536
--copyright print the copyright
36-
--enable={jit|rubyopt|...}[,...], --disable={jit|rubyopt|...}[,...]
37+
--enable={rubyopt|...}[,...]
38+
--disable={rubyopt|...}[,...]
3739
enable or disable features. see below for available features
38-
--external-encoding=encoding, --internal-encoding=encoding
40+
--external-encoding=encoding
41+
--internal-encoding=encoding
3942
specify the default external or internal character encoding
4043
--backtrace-limit=num
4144
limit the maximum length of backtrace
@@ -55,6 +58,7 @@ Features:
5558
Warning categories:
5659
deprecated deprecated features
5760
experimental experimental features
61+
performance performance issues
5862
5963
Runtime options:
6064
--polyglot Run with all other guest languages accessible.

0 commit comments

Comments
 (0)