diff options
author | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2019-04-19 16:54:00 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-19 16:54:00 +0900 |
commit | 39de7fac0507070e3c5f8b33fbad6fced84d97ed (patch) | |
tree | 3c6d7cb694216181c3ee394bc7672f142db64e23 /railties/lib/rails/commands | |
parent | 16dae7684edc480ee3fe65dfff8e19989402c987 (diff) | |
parent | 1cd88288d54dfd4254a9566023d5cb2e11a34db2 (diff) | |
download | rails-39de7fac0507070e3c5f8b33fbad6fced84d97ed.tar.gz rails-39de7fac0507070e3c5f8b33fbad6fced84d97ed.tar.bz2 rails-39de7fac0507070e3c5f8b33fbad6fced84d97ed.zip |
Merge pull request #36033 from akinomaeni/hide_help_for_dev_command
Help command for visible commands should be hidden
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r-- | railties/lib/rails/commands/dev/dev_command.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/railties/lib/rails/commands/dev/dev_command.rb b/railties/lib/rails/commands/dev/dev_command.rb index a3f02f3172..9b2cb2b04a 100644 --- a/railties/lib/rails/commands/dev/dev_command.rb +++ b/railties/lib/rails/commands/dev/dev_command.rb @@ -5,8 +5,10 @@ require "rails/dev_caching" module Rails module Command class DevCommand < Base # :nodoc: - def help - say "rails dev:cache # Toggle development mode caching on/off." + no_commands do + def help + say "rails dev:cache # Toggle development mode caching on/off." + end end def cache |