bin/request-log-analyzer in wvanbergen-request-log-analyzer-1.0.4 vs bin/request-log-analyzer in wvanbergen-request-log-analyzer-1.1.0

- old
+ new

@@ -47,10 +47,11 @@ command_line.option(:reject, :multiple => true, :parameters => 2) 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.switch(:debug) command_line.minimum_parameters = 1 @@ -71,10 +72,11 @@ puts "Output options:" puts " --boring, -b Output reports without ASCII colors." puts " --database <filename>, -d: Creates an SQLite3 database of all the parsed request information." puts " --debug Print debug information while parsing." puts " --file <filename> Output to file." + puts " --output <format> Output format. Supports 'HTML' and 'FixedWidth' (default)" puts puts "Examples:" puts " request-log-analyzer development.log" puts " request-log-analyzer -b mongrel.0.log mongrel.1.log mongrel.2.log " puts " request-log-analyzer --format merb -d requests.db production.log" @@ -114,10 +116,10 @@ RequestLogAnalyzer::LogProcessor.build(:anonymize, arguments).run! else puts "Request log analyzer, by Willem van Bergen and Bart ten Brinke - Version 1.0\n\n" # Run the request_log_analyzer! - RequestLogAnalyzer::Controller.build(arguments, terminal_width).run! + RequestLogAnalyzer::Controller.build(arguments).run! puts puts "Thanks for using request-log-analyzer" end