Skip to content

Commit

Permalink
Fix output of 'rails runner --help' [#5661 state:committed]
Browse files Browse the repository at this point in the history
Backport of 76266a

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  • Loading branch information
rohitarondekar authored and spastorino committed Sep 20, 2010
1 parent 68034ef commit 39cb27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/commands/runner.rb
Expand Up @@ -23,7 +23,7 @@
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 "-------------------------------------------------------------"
Expand Down

0 comments on commit 39cb27b

Please sign in to comment.