mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Correct default for ip binding on webrick server #717
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -22,7 +22,7 @@ ARGV.options do |opts|
|
||||
"Default: 3000") { |OPTIONS[:port]| }
|
||||
opts.on("-b", "--binding=ip", String,
|
||||
"Binds Rails to the specified ip.",
|
||||
"Default: 127.0.0.1") { |OPTIONS[:ip]| }
|
||||
"Default: 0.0.0.0") { |OPTIONS[:ip]| }
|
||||
opts.on("-i", "--index=controller", String,
|
||||
"Specifies an index controller that requests for root will go to (instead of congratulations screen)."
|
||||
) { |OPTIONS[:index_controller]| }
|
||||
|
||||
Reference in New Issue
Block a user