aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2019-03-11 18:26:49 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2019-03-11 18:26:49 +0530
commitbcc1207a8ebb730f6a86d1451e6c9089e5bfc89f (patch)
treef0d868d45e92ff7b9472aaaefa88478dd941d3c3 /railties
parent33800d2330e1c7d36dcbb5150857cfb33fc45379 (diff)
downloadrails-bcc1207a8ebb730f6a86d1451e6c9089e5bfc89f.tar.gz
rails-bcc1207a8ebb730f6a86d1451e6c9089e5bfc89f.tar.bz2
rails-bcc1207a8ebb730f6a86d1451e6c9089e5bfc89f.zip
Use the -u switch for the `rails server` banner
- Because just passing the server argument to this command is deprecated in https://github.com/rails/rails/pull/32058
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/commands/server/server_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/server/server_command.rb b/railties/lib/rails/commands/server/server_command.rb
index 47c3f05bb3..74adc967e5 100644
--- a/railties/lib/rails/commands/server/server_command.rb
+++ b/railties/lib/rails/commands/server/server_command.rb
@@ -255,7 +255,7 @@ module Rails
end
def self.banner(*)
- "rails server [thin/puma/webrick] [options]"
+ "rails server -u [thin/puma/webrick] [options]"
end
def prepare_restart