Merge pull request #12160 from hyuraku/repair-brew-info-description

repair brew info description
This commit is contained in:
Mike McQuaid 2021-10-01 13:02:33 +01:00 committed by GitHub
commit 31c32b58e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,8 +45,8 @@ module Homebrew
"`cask-install` or `os-version` may be specified if <formula> is not. "\
"The default is `install`."
switch "--github",
description: "Open the GitHub source page for <formula> in a browser. "\
"To view formula history locally: `brew log -p` <formula>"
description: "Open the GitHub source page for <formula> and <cask> in a browser. "\
"To view the history locally: `brew log -p` <formula> or <cask>"
flag "--json",
description: "Print a JSON representation. Currently the default value for <version> is `v1` for "\
"<formula>. For <formula> and <cask> use `v2`. See the docs for examples of using the "\