Merge pull request #7774 from rmNULL/brew_info_args

Accept space separated and assigned values for --days, --category flags of  brew info.
This commit is contained in:
William Woodruff 2020-06-19 18:19:32 -04:00 committed by GitHub
commit f951052986
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,11 +29,11 @@ module Homebrew
description: "List global Homebrew analytics data or, if specified, installation and "\
"build error data for <formula> (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 <days> 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 <category> must be `install`, `install-on-request` or `build-error`; "\