diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-10-14 03:28:22 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-10-14 03:28:22 +0000 |
commit | 4a1ed01e9d53da87b57802cb99e3ca7956a6eef7 (patch) | |
tree | e81b58fbae4ec36f30e1425f660c2e59ceb5caff /railties/lib/commands/perform | |
parent | e9df41a75929ad72608eb9a2d3757b200ba1d23d (diff) | |
download | rails-4a1ed01e9d53da87b57802cb99e3ca7956a6eef7.tar.gz rails-4a1ed01e9d53da87b57802cb99e3ca7956a6eef7.tar.bz2 rails-4a1ed01e9d53da87b57802cb99e3ca7956a6eef7.zip |
Update docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/commands/perform')
-rw-r--r-- | railties/lib/commands/perform/benchmarker.rb | 2 | ||||
-rw-r--r-- | railties/lib/commands/perform/profiler.rb | 2 |
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 |