dev-cmd/man: Completely remove --link

- This was deprecated in ec75fbcb65ac151f401ec3fb483a1a1acf63d5e4 in 2016!
This commit is contained in:
Issy Long 2021-01-17 23:00:19 +00:00 committed by Dawid Dziurla
parent 8869208a60
commit a0f3545a86
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B
3 changed files with 0 additions and 11 deletions

View File

@ -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?)

View File

@ -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`* ...]

View File

@ -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\.
.