ruby-changes:59763
From: Kazuhiro <ko1@a...>
Date: Tue, 21 Jan 2020 18:14:26 +0900 (JST)
Subject: [ruby-changes:59763] 1de7941ff8 (master): DocumentRoot is optional
https://git.ruby-lang.org/ruby.git/commit/?id=1de7941ff8 From 1de7941ff845ade36cc17c1325dc3453dab75f90 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Tue, 21 Jan 2020 18:04:20 +0900 Subject: DocumentRoot is optional since 2.3.0 https://github.com/ruby/ruby/commit/0b9d86f29be8e3d4fa0958bf3db41907e21ad1a0 diff --git a/lib/un.rb b/lib/un.rb index 4a15a37..628260a 100644 --- a/lib/un.rb +++ b/lib/un.rb @@ -22,7 +22,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/un.rb#L22 # ruby -run -e touch -- [OPTION] FILE # ruby -run -e wait_writable -- [OPTION] FILE # ruby -run -e mkmf -- [OPTION] EXTNAME [OPTION] -# ruby -run -e httpd -- [OPTION] DocumentRoot +# ruby -run -e httpd -- [OPTION] [DocumentRoot] # ruby -run -e help [COMMAND] require "fileutils" @@ -304,7 +304,7 @@ end https://github.com/ruby/ruby/blob/trunk/lib/un.rb#L304 ## # Run WEBrick HTTP server. # -# ruby -run -e httpd -- [OPTION] DocumentRoot +# ruby -run -e httpd -- [OPTION] [DocumentRoot] # # --bind-address=ADDR address to bind # --port=NUM listening port number -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/