From 0f4e61062ce97fd4de2ed05236079eeea30b6e10 Mon Sep 17 00:00:00 2001 From: rmnull Date: Sat, 20 Jun 2020 01:38:37 +0530 Subject: [PATCH] brew info --analytics --days=30 and --days 30 both are valid. Added this for --category as well. --- Library/Homebrew/cmd/info.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb index e6db9ec358..312e50c51e 100644 --- a/Library/Homebrew/cmd/info.rb +++ b/Library/Homebrew/cmd/info.rb @@ -29,11 +29,11 @@ module Homebrew description: "List global Homebrew analytics data or, if specified, installation and "\ "build error data for (provided neither `HOMEBREW_NO_ANALYTICS` "\ "nor `HOMEBREW_NO_GITHUB_API` are set)." - flag "--days", + flag "--days=", depends_on: "--analytics", description: "How many days of analytics data to retrieve. "\ "The value for must be `30`, `90` or `365`. The default is `30`." - flag "--category", + flag "--category=", depends_on: "--analytics", description: "Which type of analytics data to retrieve. "\ "The value for must be `install`, `install-on-request` or `build-error`; "\