From fd53bc85e7c4f57edbff1dd68b37cca320efee77 Mon Sep 17 00:00:00 2001 From: rohit Date: Sun, 19 Sep 2010 13:09:42 +0530 Subject: Send 'rails runner' help message to stdout instead of stderr. [#5661 state:committed] Signed-off-by: Santiago Pastorino --- railties/lib/rails/commands/runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib/rails/commands') 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 "" -- cgit v1.2.3