From a0f3545a865e8d54fd685e1ea4a7eae32a310f96 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Sun, 17 Jan 2021 23:00:19 +0000 Subject: [PATCH] dev-cmd/man: Completely remove `--link` - This was deprecated in ec75fbcb65ac151f401ec3fb483a1a1acf63d5e4 in 2016! --- Library/Homebrew/dev-cmd/man.rb | 5 ----- docs/Manpage.md | 2 -- manpages/brew.1 | 4 ---- 3 files changed, 11 deletions(-) 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\. .