From aed7e4389c8160670fb59b8668fc2ed9516e7cd6 Mon Sep 17 00:00:00 2001 From: Marius Kleiner Date: Thu, 8 Jul 2021 13:30:15 +0200 Subject: [PATCH] Fix function name typo at the correct place. As nandahkrishna writes in https://github.com/Homebrew/brew/pull/11678#issuecomment-876356490, completions/fish/brew.fish is generated automatically. This commit makes the change in the proper template instead. --- Library/Homebrew/completions/fish.erb | 2 +- completions/fish/brew.fish | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/completions/fish.erb b/Library/Homebrew/completions/fish.erb index 85b250379d..f14ef8f2da 100644 --- a/Library/Homebrew/completions/fish.erb +++ b/Library/Homebrew/completions/fish.erb @@ -162,7 +162,7 @@ function __fish_brew_suggest_commands -d "Lists all commands names, including al end end -function __fish_brew_suggest_diagnostic_check -d "List available diagnostic checks" +function __fish_brew_suggest_diagnostic_checks -d "List available diagnostic checks" brew doctor --list-checks end diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index 49a3996a98..e033ba1806 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -149,7 +149,7 @@ function __fish_brew_suggest_commands -d "Lists all commands names, including al end end -function __fish_brew_suggest_diagnostic_checks -d "List available diagnostic checks" +function __fish_brew_suggest_diagnostic_check -d "List available diagnostic checks" brew doctor --list-checks end