bin/request-log-analyzer in request-log-analyzer-1.12.4 vs bin/request-log-analyzer in request-log-analyzer-1.12.5
- old
+ new
@@ -52,11 +52,11 @@
command_line.option(:after)
command_line.option(:before)
command_line.switch(:boring, :b)
command_line.option(:output, :alias => :o, :default => 'fixedwidth')
- command_line.option(:report_width, :default => terminal_width - 1)
+ command_line.option(:report_width, :default => CommandLine::Tools.terminal_width - 1)
command_line.option(:report_amount, :default => 20)
command_line.option(:report_sort, :default => 'sum,mean')
command_line.switch(:debug)
command_line.switch(:no_progress)
@@ -109,10 +109,10 @@
exit(0)
end
case arguments.command
when :install
- install_rake_tasks(arguments.parameters[0])
+ CommandLine::Tools.install_rake_tasks(arguments.parameters[0])
when :console
require 'cli/database_console'
DatabaseConsole.new(arguments).run!
when :strip
RequestLogAnalyzer::LogProcessor.build(:strip, arguments).run!