aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/perform
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/commands/perform')
-rw-r--r--railties/lib/commands/perform/benchmarker.rb2
-rw-r--r--railties/lib/commands/perform/profiler.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/commands/perform/benchmarker.rb b/railties/lib/commands/perform/benchmarker.rb
index 7e14de7cc3..296192f53c 100644
--- a/railties/lib/commands/perform/benchmarker.rb
+++ b/railties/lib/commands/perform/benchmarker.rb
@@ -1,7 +1,7 @@
#!/usr/local/bin/ruby
if ARGV.empty?
- puts "Usage: benchmarker times 'Person.expensive_way' 'Person.another_expensive_way' ..."
+ puts "Usage: ./script/perform benchmarker [times] 'Person.expensive_way' 'Person.another_expensive_way' ..."
exit
end
diff --git a/railties/lib/commands/perform/profiler.rb b/railties/lib/commands/perform/profiler.rb
index d0eb7b9b83..f599ad6635 100644
--- a/railties/lib/commands/perform/profiler.rb
+++ b/railties/lib/commands/perform/profiler.rb
@@ -1,6 +1,6 @@
#!/usr/local/bin/ruby
if ARGV.empty?
- $stderr.puts "Usage: profiler 'Person.expensive_method(10)' [times]"
+ $stderr.puts "Usage: ./script/perform profiler 'Person.expensive_method(10)' [times]"
exit(1)
end