cmd/tap: remove --list-pinned option.

Not deprecating as it's broken and has been for several major versions.
This commit is contained in:
Mike McQuaid 2023-07-18 10:23:52 +01:00
parent da01f8f0b9
commit a1c9a21548
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829
6 changed files with 0 additions and 13 deletions

View File

@ -41,8 +41,6 @@ module Homebrew
description: "Install or change a tap with a custom remote. Useful for mirrors."
switch "--repair",
description: "Migrate tapped formulae from symlink-based to directory-based structure."
switch "--list-pinned",
description: "List all pinned taps."
switch "--eval-all",
description: "Evaluate all the formulae, casks and aliases in the new tap to check validity. " \
"Implied if `HOMEBREW_EVAL_ALL` is set."
@ -60,8 +58,6 @@ module Homebrew
if args.repair?
Tap.each(&:link_completions_and_manpages)
Tap.each(&:fix_remote_configuration)
elsif args.list_pinned?
puts Tap.select(&:pinned?).map(&:name)
elsif args.no_named?
puts Tap.names
else

View File

@ -2084,7 +2084,6 @@ _brew_tap() {
--force
--force-auto-update
--help
--list-pinned
--no-force-auto-update
--quiet
--repair

View File

@ -1398,7 +1398,6 @@ __fish_brew_complete_arg 'tap' -l eval-all -d 'Evaluate all the formulae, casks
__fish_brew_complete_arg 'tap' -l force -d 'Force install core taps even under API mode'
__fish_brew_complete_arg 'tap' -l force-auto-update -d 'Auto-update tap even if it is not hosted on GitHub. By default, only taps hosted on GitHub are auto-updated (for performance reasons)'
__fish_brew_complete_arg 'tap' -l help -d 'Show this message'
__fish_brew_complete_arg 'tap' -l list-pinned -d 'List all pinned taps'
__fish_brew_complete_arg 'tap' -l no-force-auto-update -d 'Auto-update tap even if it is not hosted on GitHub. By default, only taps hosted on GitHub are auto-updated (for performance reasons)'
__fish_brew_complete_arg 'tap' -l quiet -d 'Make some output more quiet'
__fish_brew_complete_arg 'tap' -l repair -d 'Migrate tapped formulae from symlink-based to directory-based structure'

View File

@ -1724,7 +1724,6 @@ _brew_tap() {
'--force[Force install core taps even under API mode]' \
'--force-auto-update[Auto-update tap even if it is not hosted on GitHub. By default, only taps hosted on GitHub are auto-updated (for performance reasons)]' \
'--help[Show this message]' \
'--list-pinned[List all pinned taps]' \
'--no-force-auto-update[Auto-update tap even if it is not hosted on GitHub. By default, only taps hosted on GitHub are auto-updated (for performance reasons)]' \
'--quiet[Make some output more quiet]' \
'--repair[Migrate tapped formulae from symlink-based to directory-based structure]' \

View File

@ -688,8 +688,6 @@ using protocols other than HTTPS, e.g. SSH, git, HTTP, FTP(S), rsync.
Install or change a tap with a custom remote. Useful for mirrors.
* `--repair`:
Migrate tapped formulae from symlink-based to directory-based structure.
* `--list-pinned`:
List all pinned taps.
* `--eval-all`:
Evaluate all the formulae, casks and aliases in the new tap to check validity. Implied if `HOMEBREW_EVAL_ALL` is set.
* `--force`:

View File

@ -966,10 +966,6 @@ Install or change a tap with a custom remote\. Useful for mirrors\.
Migrate tapped formulae from symlink\-based to directory\-based structure\.
.
.TP
\fB\-\-list\-pinned\fR
List all pinned taps\.
.
.TP
\fB\-\-eval\-all\fR
Evaluate all the formulae, casks and aliases in the new tap to check validity\. Implied if \fBHOMEBREW_EVAL_ALL\fR is set\.
.