aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/help
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-08-22 21:26:06 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-08-22 22:39:03 +0300
commitcffb9bc1f64f314e794833b17d68c43e88f47741 (patch)
treee996af559dded47e06bf7033ff884a12c4d39532 /railties/lib/rails/commands/help
parent9136bb77a73a9374078f850af056225172f1f211 (diff)
downloadrails-cffb9bc1f64f314e794833b17d68c43e88f47741.tar.gz
rails-cffb9bc1f64f314e794833b17d68c43e88f47741.tar.bz2
rails-cffb9bc1f64f314e794833b17d68c43e88f47741.zip
Use `say`/`error` instead of `puts`/`$stderr.puts`
Follow up 44007c07098a3c633180881cae9285da4622e63f
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