summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-01-21 18:04:20 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-01-21 18:13:54 +0900
commit1de7941ff845ade36cc17c1325dc3453dab75f90 (patch)
tree66899f0064c9df55860f1dec3db9711e73a7d76f /lib
parent8113f3fee4a962321b6107e58496afc6733c299c (diff)
DocumentRoot is optional
since 2.3.0 https://github.com/ruby/ruby/commit/0b9d86f29be8e3d4fa0958bf3db41907e21ad1a0
Diffstat (limited to 'lib')
-rw-r--r--lib/un.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/un.rb b/lib/un.rb
index 4a15a37394..628260a7fa 100644
--- a/lib/un.rb
+++ b/lib/un.rb
@@ -22,7 +22,7 @@
# 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
##
# 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