[Bug #3476] un.rb: httpd: invalid option --http-version

Bug #3476: un.rb: httpd: invalid option --http-version

e$B5/I<<Te(B: Kazuhiro NISHIYAMA
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B: Nobuyoshi N., e$B%+%F%4%je(B: lib
ruby -v: ruby 1.9.3dev (2010-06-18 trunk 28359) [x86_64-linux]

un.rb e$B$Ne(B httpd e$B$Ne(B help e$B$Ge(B --http-version
–HTTPVersion e$B$K$7$J$$$H;H$($^$;$s!#e(B

% ruby-trunk -v
ruby 1.9.3dev (2010-06-18 trunk 28359) [x86_64-linux]
% ruby-trunk -run -e help httpd
Run WEBrick HTTP server.

ruby -run -e httpd – [OPTION] DocumentRoot

–bind-address=ADDR address to bind
–port=NUM listening port number
–max-clients=MAX max number of simultaneous clients
–temp-dir=DIR temporary directory
–do-not-reverse-lookup disable reverse lookup
–request-timeout=SECOND request timeout in seconds
–http-version=VERSION HTTP version
-v verbose

% ruby-trunk -run -e httpd – --http-version=1.0 .
…/un.rb:52:in block in setup': invalid option: --http-version=1.0 (OptionParser::InvalidOption) from .../un.rb:38:innew’
from …/un.rb:38:in setup' from .../un.rb:302:inhttpd’
from -e:1:in `’