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

View File

@ -2084,7 +2084,6 @@ _brew_tap() {
--force --force
--force-auto-update --force-auto-update
--help --help
--list-pinned
--no-force-auto-update --no-force-auto-update
--quiet --quiet
--repair --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 -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 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 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 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 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' __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[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)]' \ '--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]' \ '--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)]' \ '--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]' \ '--quiet[Make some output more quiet]' \
'--repair[Migrate tapped formulae from symlink-based to directory-based structure]' \ '--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. Install or change a tap with a custom remote. Useful for mirrors.
* `--repair`: * `--repair`:
Migrate tapped formulae from symlink-based to directory-based structure. Migrate tapped formulae from symlink-based to directory-based structure.
* `--list-pinned`:
List all pinned taps.
* `--eval-all`: * `--eval-all`:
Evaluate all the formulae, casks and aliases in the new tap to check validity. Implied if `HOMEBREW_EVAL_ALL` is set. Evaluate all the formulae, casks and aliases in the new tap to check validity. Implied if `HOMEBREW_EVAL_ALL` is set.
* `--force`: * `--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\. Migrate tapped formulae from symlink\-based to directory\-based structure\.
. .
.TP .TP
\fB\-\-list\-pinned\fR
List all pinned taps\.
.
.TP
\fB\-\-eval\-all\fR \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\. Evaluate all the formulae, casks and aliases in the new tap to check validity\. Implied if \fBHOMEBREW_EVAL_ALL\fR is set\.
. .