aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/help
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2018-08-23 11:02:15 +0200
committerGitHub <noreply@github.com>2018-08-23 11:02:15 +0200
commit2a321bff402bd990558b8a303f7168b5c4bcfc1d (patch)
treefaf9a1894acbdc09ef8de0580e8e1b9cfcd39cc6 /railties/lib/rails/commands/help
parentdc001dbd58cde8b2caab42ab1bcdd88774818c53 (diff)
parentcffb9bc1f64f314e794833b17d68c43e88f47741 (diff)
downloadrails-2a321bff402bd990558b8a303f7168b5c4bcfc1d.tar.gz
rails-2a321bff402bd990558b8a303f7168b5c4bcfc1d.tar.bz2
rails-2a321bff402bd990558b8a303f7168b5c4bcfc1d.zip
Merge pull request #33696 from bogdanvlviv/follow-up-44007c070
Use `say`/`error` instead of `puts`/`$stderr.puts`
Diffstat (limited to 'railties/lib/rails/commands/help')
-rw-r--r--railties/lib/rails/commands/help/help_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/help/help_command.rb b/railties/lib/rails/commands/help/help_command.rb
index 8e5b4d68d3..9df34e9b79 100644
--- a/railties/lib/rails/commands/help/help_command.rb
+++ b/railties/lib/rails/commands/help/help_command.rb
@@ -6,7 +6,7 @@ module Rails
hide_command!
def help(*)
- puts self.class.desc
+ say self.class.desc
Rails::Command.print_commands
end