From 9a83bd5006b6f996cbd68045d2d4d7f7dac24de1 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 2 Feb 2010 16:16:26 -0800 Subject: Rename usage path to command to just the command name --- railties/lib/rails/commands/performance/profiler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib/rails/commands/performance/profiler.rb') 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 -- cgit v1.2.3