aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/server/server_command.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-10-28 20:44:58 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2016-10-28 20:44:58 +0200
commit83776676e54b387fc52081ff31cfd7710bae9e03 (patch)
tree659ccce3c9b437ede7d1ecf86edd25aa67bbbd02 /railties/lib/rails/commands/server/server_command.rb
parent86bf5adaa810ef9d988cc64dbe1b466f0f74e817 (diff)
downloadrails-83776676e54b387fc52081ff31cfd7710bae9e03.tar.gz
rails-83776676e54b387fc52081ff31cfd7710bae9e03.tar.bz2
rails-83776676e54b387fc52081ff31cfd7710bae9e03.zip
Hide commands from API site.
They're just barren on the site and confure more than guide, instead rely on the built in --help to guide users.
Diffstat (limited to 'railties/lib/rails/commands/server/server_command.rb')
-rw-r--r--railties/lib/rails/commands/server/server_command.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/commands/server/server_command.rb b/railties/lib/rails/commands/server/server_command.rb
index 14cf72f483..e9538b804c 100644
--- a/railties/lib/rails/commands/server/server_command.rb
+++ b/railties/lib/rails/commands/server/server_command.rb
@@ -139,8 +139,8 @@ module Rails
end
module Command
- class ServerCommand < Base
- def help # :nodoc:
+ class ServerCommand < Base # :nodoc:
+ def help
puts Rails::Server::Options.new.option_parser(Hash.new)
end