From c14b47b21566cdeca720ee1a7ed8c675f36fcdc4 Mon Sep 17 00:00:00 2001 From: rohit Date: Mon, 20 Sep 2010 09:38:50 +0530 Subject: [PATCH] Fix output of 'rails runner --help' [#5661 state:committed] Backport of 76266a --- railties/lib/rails/commands/runner.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/railties/lib/rails/commands/runner.rb b/railties/lib/rails/commands/runner.rb index f36dfad..1a91d47 100644 --- a/railties/lib/rails/commands/runner.rb +++ b/railties/lib/rails/commands/runner.rb @@ -23,7 +23,7 @@ ARGV.clone.options do |opts| opts.separator "" opts.separator "You can also use runner as a shebang line for your scripts like this:" opts.separator "-------------------------------------------------------------" - opts.separator "#!/usr/bin/env #{File.expand_path($0)}" + opts.separator "#!/usr/bin/env #{File.expand_path($0)} runner" opts.separator "" opts.separator "Product.find(:all).each { |p| p.price *= 2 ; p.save! }" opts.separator "-------------------------------------------------------------" -- 1.7.0.4