# Prints usage table puts "Usage: request-log-analyzer [LOGFILES*] " puts puts "Options:" puts " --fast, -f: Only use completed requests" puts " --guess-database-time, -g: Guesses the database duration of requests" puts " --output, -o: Comma-separated list of reports to show" puts " --amount, -c: Displays the top elements in the reports" puts " --colorize, -z: Fancy bash coloring" puts " --merb, -m: Parse merb logfiles" puts " --install rails, -i rails Install Rails task rake log:analyze" puts puts "Examples:" puts " request-log-analyzer development.log" puts " request-log-analyzer mongrel.0.log mongrel.1.log mongrel.2.log -g -f -o mean_time,most_requested,blockers -c 20 -z" puts " request-log-analyzer --install rails"