aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/runner.rb
diff options
context:
space:
mode:
authorrohit <rohit.arondekar@gmail.com>2010-09-19 13:09:42 +0530
committerSantiago Pastorino <santiago@wyeworks.com>2010-09-19 16:45:29 -0700
commitfd53bc85e7c4f57edbff1dd68b37cca320efee77 (patch)
tree976f65b3e54e0257fffd0b5c5963582b3c15540d /railties/lib/rails/commands/runner.rb
parent88a82bcb2dbb1f65382583d1fad7ad0c72e0022f (diff)
downloadrails-fd53bc85e7c4f57edbff1dd68b37cca320efee77.tar.gz
rails-fd53bc85e7c4f57edbff1dd68b37cca320efee77.tar.bz2
rails-fd53bc85e7c4f57edbff1dd68b37cca320efee77.zip
Send 'rails runner' help message to stdout instead of stderr.
[#5661 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'railties/lib/rails/commands/runner.rb')
-rw-r--r--railties/lib/rails/commands/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/runner.rb b/railties/lib/rails/commands/runner.rb
index 81001867cf..1a91d477ec 100644
--- a/railties/lib/rails/commands/runner.rb
+++ b/railties/lib/rails/commands/runner.rb
@@ -17,7 +17,7 @@ ARGV.clone.options do |opts|
opts.separator ""
opts.on("-h", "--help",
- "Show this help message.") { $stderr.puts opts; exit }
+ "Show this help message.") { $stdout.puts opts; exit }
if RbConfig::CONFIG['host_os'] !~ /mswin|mingw/
opts.separator ""