From: Kazuhiro NISHIYAMA Date: 2008-03-10T16:43:43+09:00 Subject: [ruby-dev:34015] Re: Should --verbose be equal to -v ? 西山和広です。 At Mon, 10 Mar 2008 16:30:00 +0900, Yukihiro Matsumoto wrote: > > |ruby -hには--verboseがないようです。 > > --verboseがないのはわざとです。全部取り込むと一画面に収まり > ません。 一画面におさめるために24行以内にしようとしているのなら、 trunkの方はすでに超えてしまっているようです。 % ruby -h|wc 24 190 1478 % ruby-trunk -h|wc 27 211 1706 % diff -u =(ruby -h) =(ruby-trunk -h) --- /tmp/zshFyhLLc 2008-03-10 16:39:15.000000000 +0900 +++ /tmp/zshXFdIT7 2008-03-10 16:39:15.000000000 +0900 @@ -1,10 +1,11 @@ -Usage: ruby [switches] [--] [programfile] [arguments] +Usage: ruby-trunk [switches] [--] [programfile] [arguments] -0[octal] specify record separator (\0, if no argument) -a autosplit mode with -n or -p (splits $_ into $F) -c check syntax only -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) @@ -20,5 +21,7 @@ -w turn warnings on for your script -W[level] set warning level; 0=silence, 1=medium, 2=verbose (default) -x[directory] strip off text before #!ruby line and perhaps cd to directory + --enable/--disable-FEATURE --enable/--disable=FEATURE enable/disable FEATUREs + gems: gem libraries, rubyopt: RUBYOPT env, or all --copyright print the copyright --version print the version % -- |ZnZ(ゼット エヌ ゼット) |西山和広(Kazuhiro NISHIYAMA)