info --analytics handle days and category args
This commit is contained in:
parent
e2c76cce8e
commit
ff94e64ee6
@ -369,6 +369,8 @@ module Homebrew
|
||||
value.each do |days, results|
|
||||
days = days.to_i
|
||||
if full_analytics
|
||||
next if args.days.present? && args.days&.to_i != days
|
||||
next if args.category.present? && args.category != category
|
||||
analytics_table(category, days, results)
|
||||
else
|
||||
total_count = results.values.inject("+")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user