summaryrefslogtreecommitdiff
path: root/bin/erb
diff options
context:
space:
mode:
Diffstat (limited to 'bin/erb')
-rwxr-xr-xbin/erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/erb b/bin/erb
index 1ba49c9dc1..6a88c3b26a 100755
--- a/bin/erb
+++ b/bin/erb
@@ -76,7 +76,7 @@ class ERB
require ARGV.req_arg
when '-S' # security level
arg = ARGV.req_arg
- raise "invalid safe_level #{arg.dump}" unless arg =~ /\A[0-3]\z/
+ raise "invalid safe_level #{arg.dump}" unless arg =~ /\A[0-1]\z/
safe_level = arg.to_i
when '-T' # trim mode
arg = ARGV.req_arg
@@ -112,7 +112,7 @@ class ERB
-v enable verbose mode
-d set $DEBUG to true
-r library load a library
- -S safe_level set $SAFE (0..3)
+ -S safe_level set $SAFE (0..1)
-E ex[:in] set default external/internal encodings
-U set default encoding to UTF-8.
-T trim_mode specify trim_mode (0..2, -)