Skip to content
This repository
Browse code

Merge pull request #9202 from gkop/more_helpful_message_when_starting…

…_server

More helpful message when starting server
  • Loading branch information...
commit 3b68f212410b742e941e89034483571a50518200 2 parents 2392535 + b055738
Steve Klabnik authored March 18, 2013
2  guides/source/initialization.md
Source Rendered
@@ -266,7 +266,7 @@ def start
266 266
   url = "#{options[:SSLEnable] ? 'https' : 'http'}://#{options[:Host]}:#{options[:Port]}"
267 267
   puts "=> Booting #{ActiveSupport::Inflector.demodulize(server)}"
268 268
   puts "=> Rails #{Rails.version} application starting in #{Rails.env} on #{url}"
269  
-  puts "=> Call with -d to detach" unless options[:daemonize]
  269
+  puts "=> Run `rails server -h` for more startup options"
270 270
   trap(:INT) { exit }
271 271
   puts "=> Ctrl-C to shutdown server" unless options[:daemonize]
272 272
 
2  railties/lib/rails/commands/server.rb
@@ -62,7 +62,7 @@ def start
62 62
       url = "#{options[:SSLEnable] ? 'https' : 'http'}://#{options[:Host]}:#{options[:Port]}"
63 63
       puts "=> Booting #{ActiveSupport::Inflector.demodulize(server)}"
64 64
       puts "=> Rails #{Rails.version} application starting in #{Rails.env} on #{url}"
65  
-      puts "=> Call with -d to detach" unless options[:daemonize]
  65
+      puts "=> Run `rails server -h` for more startup options"
66 66
       trap(:INT) { exit }
67 67
       puts "=> Ctrl-C to shutdown server" unless options[:daemonize]
68 68
 

0 notes on commit 3b68f21

Please sign in to comment.
Something went wrong with that request. Please try again.