Merge pull request #10350 from issyl0/brew-man-remove-link-flag
dev-cmd/man: Completely remove `--link`
This commit is contained in:
commit
1525350709
@ -29,9 +29,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
|
||||
@ -39,8 +36,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?)
|
||||
Completions.update_shell_completions!
|
||||
|
||||
@ -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`* ...]
|
||||
|
||||
|
||||
@ -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\.
|
||||
.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user