1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

DocumentRoot is optional

since 2.3.0
0b9d86f29b
This commit is contained in:
Kazuhiro NISHIYAMA 2020-01-21 18:04:20 +09:00
parent 8113f3fee4
commit 1de7941ff8
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -22,7 +22,7 @@
# ruby -run -e touch -- [OPTION] FILE # ruby -run -e touch -- [OPTION] FILE
# ruby -run -e wait_writable -- [OPTION] FILE # ruby -run -e wait_writable -- [OPTION] FILE
# ruby -run -e mkmf -- [OPTION] EXTNAME [OPTION] # ruby -run -e mkmf -- [OPTION] EXTNAME [OPTION]
# ruby -run -e httpd -- [OPTION] DocumentRoot # ruby -run -e httpd -- [OPTION] [DocumentRoot]
# ruby -run -e help [COMMAND] # ruby -run -e help [COMMAND]
require "fileutils" require "fileutils"
@ -304,7 +304,7 @@ end
## ##
# Run WEBrick HTTP server. # Run WEBrick HTTP server.
# #
# ruby -run -e httpd -- [OPTION] DocumentRoot # ruby -run -e httpd -- [OPTION] [DocumentRoot]
# #
# --bind-address=ADDR address to bind # --bind-address=ADDR address to bind
# --port=NUM listening port number # --port=NUM listening port number