diff --git a/Library/Homebrew/cask/cmd/home.rb b/Library/Homebrew/cask/cmd/home.rb index 4c4f4bc30c..e9258a48af 100644 --- a/Library/Homebrew/cask/cmd/home.rb +++ b/Library/Homebrew/cask/cmd/home.rb @@ -4,7 +4,7 @@ module Cask def run if casks.none? odebug "Opening project homepage" - self.class.open_url "https://caskroom.github.io/" + self.class.open_url "https://brew.sh/" else casks.each do |cask| odebug "Opening homepage for Cask #{cask}" diff --git a/Library/Homebrew/manpages/brew-cask.1.md b/Library/Homebrew/manpages/brew-cask.1.md index 4d4808f9f0..c7c1e09dc1 100644 --- a/Library/Homebrew/manpages/brew-cask.1.md +++ b/Library/Homebrew/manpages/brew-cask.1.md @@ -48,7 +48,7 @@ graphical user interface. * `home` or `homepage` [ ... ]: Display the homepage associated with a given Cask in a browser. - With no arguments, display the project page . + With no arguments, display the project page . * `info` or `abv` [ ... ]: Display information about the given Cask. @@ -249,7 +249,7 @@ Other environment variables: ## SEE ALSO -The Homebrew Cask home page: +The Homebrew home page: The Homebrew Cask GitHub page: diff --git a/Library/Homebrew/test/cask/cmd/home_spec.rb b/Library/Homebrew/test/cask/cmd/home_spec.rb index 61a5f7de4e..be115715fb 100644 --- a/Library/Homebrew/test/cask/cmd/home_spec.rb +++ b/Library/Homebrew/test/cask/cmd/home_spec.rb @@ -19,7 +19,7 @@ describe Cask::Cmd::Home, :cask do end it "opens the project page when no Cask is specified" do - expect(described_class).to receive(:open_url).with("https://caskroom.github.io/") + expect(described_class).to receive(:open_url).with("https://brew.sh/") described_class.run end end diff --git a/manpages/brew-cask.1 b/manpages/brew-cask.1 index d34358b377..b3829c13cf 100644 --- a/manpages/brew-cask.1 +++ b/manpages/brew-cask.1 @@ -53,7 +53,7 @@ Download remote application files for the given Cask to the local cache\. With \ Display the homepage associated with a given Cask in a browser\. . .IP -With no arguments, display the project page \fIhttps://caskroom\.github\.io/\fR\. +With no arguments, display the project page \fIhttps://brew\.sh/\fR\. . .TP \fBinfo\fR or \fBabv\fR \fItoken\fR [ \fItoken\fR \.\.\. ] @@ -288,7 +288,7 @@ Other environment variables: When this variable is set, Homebrew Cask will call \fBsudo\fR(8) with the \fB\-A\fR option\. . .SH "SEE ALSO" -The Homebrew Cask home page: \fIhttps://caskroom\.github\.io/\fR +The Homebrew home page: \fIhttps://brew\.sh/\fR . .P The Homebrew Cask GitHub page: \fIhttps://github\.com/Homebrew/homebrew\-cask\fR