summaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-14 07:10:22 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-14 07:10:22 +0000
commit12558e1a1573926da6ed991c0172ebdc2a564786 (patch)
tree7f566b5ed87de54cf2339847d8fddf13aca057f6 /ruby.c
parent9fdab1b44394b2649e8f85c720eb86cca4556c6b (diff)
downloadruby-12558e1a1573926da6ed991c0172ebdc2a564786.tar.gz
ruby-12558e1a1573926da6ed991c0172ebdc2a564786.tar.xz
ruby-12558e1a1573926da6ed991c0172ebdc2a564786.zip
* ruby.1: a patch to describe --encoding. a patch from Yugui
<yugui AT yugui.sakura.ne.jp> in [ruby-dev:33079]. * ruby.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby.c b/ruby.c
index 7feef787f..20a2a9083 100644
--- a/ruby.c
+++ b/ruby.c
@@ -108,6 +108,7 @@ usage(const char *name)
"-Cdirectory cd to directory, before executing your script",
"-d set debugging flags (set $DEBUG to true)",
"-e 'command' one line of script. Several -e's allowed. Omit [programfile]",
+ "-Eencoding specifies the character encoding for the program codes",
"-Fpattern split() pattern for autosplit (-a)",
"-i[extension] edit ARGV files in place (make backup if extension supplied)",
"-Idirectory specify $LOAD_PATH directory (may be used more than once)",