summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-17 02:14:24 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-17 02:14:24 +0000
commita75fe921428eaa3294dcb48139dc8dd970474240 (patch)
tree2a58ec9bdce4254118fa57bb9b06b5c1408ea938 /bin
parent2306be3afb8d332d05d6c395ffe34a6c81e56e45 (diff)
downloadruby-a75fe921428eaa3294dcb48139dc8dd970474240.tar.gz
ruby-a75fe921428eaa3294dcb48139dc8dd970474240.tar.xz
ruby-a75fe921428eaa3294dcb48139dc8dd970474240.zip
remove -K option.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin')
-rwxr-xr-xbin/erb15
1 files changed, 0 insertions, 15 deletions
diff --git a/bin/erb b/bin/erb
index a6fcd5370..8541437dc 100755
--- a/bin/erb
+++ b/bin/erb
@@ -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 "%"