aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin/server
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-06-26 04:45:30 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-06-26 04:45:30 +0000
commite15207f497f5ea8fca25686303b5ef3a068b2ea9 (patch)
treeec1423191087587afb214932d67d84391171edaa /railties/bin/server
parentc6ea1d360cb81c6598170f3c8e368fe8efcb7a3c (diff)
downloadrails-e15207f497f5ea8fca25686303b5ef3a068b2ea9.tar.gz
rails-e15207f497f5ea8fca25686303b5ef3a068b2ea9.tar.bz2
rails-e15207f497f5ea8fca25686303b5ef3a068b2ea9.zip
Added help text for WEBrick #1508 [courtney]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1515 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/bin/server')
-rw-r--r--railties/bin/server1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/bin/server b/railties/bin/server
index ba28ecf4b0..487d1fd954 100644
--- a/railties/bin/server
+++ b/railties/bin/server
@@ -45,4 +45,5 @@ require 'webrick_server'
OPTIONS['working_directory'] = File.expand_path(RAILS_ROOT)
puts "=> Rails application started on http://#{OPTIONS[:ip]}:#{OPTIONS[:port]}"
+puts "=> Ctrl-C to shutdown server; call with --help for options" if OPTIONS[:server_type] == WEBrick::SimpleServer
DispatchServlet.dispatch(OPTIONS)