From a1c9a215489ac9e9aade1cec98e683b166f3cf59 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 18 Jul 2023 10:23:52 +0100 Subject: [PATCH] cmd/tap: remove --list-pinned option. Not deprecating as it's broken and has been for several major versions. --- Library/Homebrew/cmd/tap.rb | 4 ---- completions/bash/brew | 1 - completions/fish/brew.fish | 1 - completions/zsh/_brew | 1 - docs/Manpage.md | 2 -- manpages/brew.1 | 4 ---- 6 files changed, 13 deletions(-) diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb index ac46e0f93e..d510e964b4 100644 --- a/Library/Homebrew/cmd/tap.rb +++ b/Library/Homebrew/cmd/tap.rb @@ -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 diff --git a/completions/bash/brew b/completions/bash/brew index 2f064c72c0..1deca36a16 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -2084,7 +2084,6 @@ _brew_tap() { --force --force-auto-update --help - --list-pinned --no-force-auto-update --quiet --repair diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index b9963a96e1..43e9f2efab 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -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' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index 62654ac1ef..412252fe23 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -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]' \ diff --git a/docs/Manpage.md b/docs/Manpage.md index ff1a38211d..900ef7e2fc 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -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`: diff --git a/manpages/brew.1 b/manpages/brew.1 index 10540bed32..6243e78037 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -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\. .