diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2010-02-02 16:16:26 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2010-02-02 16:16:26 -0800 |
commit | 9a83bd5006b6f996cbd68045d2d4d7f7dac24de1 (patch) | |
tree | 77e4db322c7a32b37030506a466b06f397697e57 /railties/lib/rails/commands/performance/profiler.rb | |
parent | ea5917715657681c7cb2bbb5f793b9aea29d0609 (diff) | |
download | rails-9a83bd5006b6f996cbd68045d2d4d7f7dac24de1.tar.gz rails-9a83bd5006b6f996cbd68045d2d4d7f7dac24de1.tar.bz2 rails-9a83bd5006b6f996cbd68045d2d4d7f7dac24de1.zip |
Rename usage path to command to just the command name
Diffstat (limited to 'railties/lib/rails/commands/performance/profiler.rb')
-rw-r--r-- | railties/lib/rails/commands/performance/profiler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/performance/profiler.rb b/railties/lib/rails/commands/performance/profiler.rb index aaa075018c..50ae411166 100644 --- a/railties/lib/rails/commands/performance/profiler.rb +++ b/railties/lib/rails/commands/performance/profiler.rb @@ -1,5 +1,5 @@ if ARGV.empty? - $stderr.puts "Usage: ./script/performance/profiler 'Person.expensive_method(10)' [times] [flat|graph|graph_html]" + $stderr.puts "Usage: profiler 'Person.expensive_method(10)' [times] [flat|graph|graph_html]" exit(1) end |