diff --git a/Library/Homebrew/dev-cmd/man.rb b/Library/Homebrew/dev-cmd/man.rb index e0f6ce82f4..9f4319d037 100644 --- a/Library/Homebrew/dev-cmd/man.rb +++ b/Library/Homebrew/dev-cmd/man.rb @@ -28,9 +28,6 @@ module Homebrew "can be used to notify CI when the manpages are out of date. Additionally, "\ "the date used in new manpages will match those in the existing manpages (to allow "\ "comparison without factoring in the date)." - switch "--link", - description: "This is now done automatically by `brew update`." - named_args :none end end @@ -38,8 +35,6 @@ module Homebrew def man args = man_args.parse - odie "`brew man --link` is now done automatically by `brew update`." if args.link? - Commands.rebuild_internal_commands_completion_list regenerate_man_pages(preserve_date: args.fail_if_changed?, quiet: args.quiet?) diff --git a/docs/Manpage.md b/docs/Manpage.md index e5e1a326fc..d5a54bbf3f 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1094,8 +1094,6 @@ Generate Homebrew's manpages. * `--fail-if-changed`: Return a failing status code if changes are detected in the manpage outputs. This can be used to notify CI when the manpages are out of date. Additionally, the date used in new manpages will match those in the existing manpages (to allow comparison without factoring in the date). -* `--link`: - This is now done automatically by `brew update`. ### `mirror` *`formula`* [*`formula`* ...] diff --git a/manpages/brew.1 b/manpages/brew.1 index aed270c218..55be99d871 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1509,10 +1509,6 @@ Generate Homebrew\'s manpages\. \fB\-\-fail\-if\-changed\fR Return a failing status code if changes are detected in the manpage outputs\. This can be used to notify CI when the manpages are out of date\. Additionally, the date used in new manpages will match those in the existing manpages (to allow comparison without factoring in the date)\. . -.TP -\fB\-\-link\fR -This is now done automatically by \fBbrew update\fR\. -. .SS "\fBmirror\fR \fIformula\fR [\fIformula\fR \.\.\.]" Reupload the stable URL of a formula to Bintray for use as a mirror\. .