diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-18 16:47:59 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-18 16:47:59 +0000 |
commit | 69d62fdc823e38dc4aa0ecc772232f9afc6a7226 (patch) | |
tree | d4a7552295c91091f55f180995e0363f0b597ec7 /bin | |
parent | 43b5cb3dc67ad93871b62f23bee648b1ead01100 (diff) |
merges r20240 from trunk into ruby_1_9_1.
remove -K option from erb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/erb | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -72,20 +72,6 @@ class ERB end raise "invalid trim mode #{arg.dump}" unless arg =~ /^[0-2]$/ trim_mode = arg.to_i - when '-K' # KCODE - arg = ARGV.req_arg - case arg.downcase - when 'e', '-e', 'euc' - $KCODE = 'EUC' - when 's', '-s', 'sjis' - $KCODE = 'SJIS' - when 'u', '-u', 'utf8' - $KCODE = 'UTF8' - when 'n', '-n', 'none' - $KCODE = 'NONE' - else - raise "invalid KCODE #{arg.dump}" - end when '-P' disable_percent = true when '--help' @@ -104,7 +90,6 @@ class ERB -v enable verbose mode -d set $DEBUG to true -r [library] load a library - -K [kcode] specify KANJI code-set -S [safe_level] set $SAFE (0..4) -T [trim_mode] specify trim_mode (0..2, -) -P ignore lines which start with "%" |