From e158a5260a6e24728a298a98e03293a150ee5afa Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 2 Aug 2024 23:32:18 +0000 Subject: [PATCH] Update manpage and completions. Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow. --- completions/bash/brew | 2 ++ completions/fish/brew.fish | 2 ++ completions/zsh/_brew | 14 ++++++++------ docs/Manpage.md | 4 ++++ manpages/brew.1 | 3 +++ 5 files changed, 19 insertions(+), 6 deletions(-) diff --git a/completions/bash/brew b/completions/bash/brew index 6c6e5e0c5c9bb..9402f26144b7b 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -2316,6 +2316,7 @@ _brew_tc() { --fix --help --ignore + --lsp --quiet --suggest-typed --update @@ -2384,6 +2385,7 @@ _brew_typecheck() { --fix --help --ignore + --lsp --quiet --suggest-typed --update diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index bd8ee9a6b0c62..48ac7e41e7cac 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -1519,6 +1519,7 @@ __fish_brew_complete_arg 'tc' -l file -d 'Typecheck a single file' __fish_brew_complete_arg 'tc' -l fix -d 'Automatically fix type errors' __fish_brew_complete_arg 'tc' -l help -d 'Show this message' __fish_brew_complete_arg 'tc' -l ignore -d 'Ignores input files that contain the given string in their paths (relative to the input path passed to Sorbet)' +__fish_brew_complete_arg 'tc' -l lsp -d 'Start the Sorbet LSP server' __fish_brew_complete_arg 'tc' -l quiet -d 'Silence all non-critical errors' __fish_brew_complete_arg 'tc' -l suggest-typed -d 'Try upgrading `typed` sigils' __fish_brew_complete_arg 'tc' -l update -d 'Update RBI files' @@ -1560,6 +1561,7 @@ __fish_brew_complete_arg 'typecheck' -l file -d 'Typecheck a single file' __fish_brew_complete_arg 'typecheck' -l fix -d 'Automatically fix type errors' __fish_brew_complete_arg 'typecheck' -l help -d 'Show this message' __fish_brew_complete_arg 'typecheck' -l ignore -d 'Ignores input files that contain the given string in their paths (relative to the input path passed to Sorbet)' +__fish_brew_complete_arg 'typecheck' -l lsp -d 'Start the Sorbet LSP server' __fish_brew_complete_arg 'typecheck' -l quiet -d 'Silence all non-critical errors' __fish_brew_complete_arg 'typecheck' -l suggest-typed -d 'Try upgrading `typed` sigils' __fish_brew_complete_arg 'typecheck' -l update -d 'Update RBI files' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index af508972c83e0..8869a5049768a 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -1881,13 +1881,14 @@ _brew_tc() { '--debug[Display any debugging information]' \ '(--file)--dir[Typecheck all files in a specific directory]' \ '(--dir)--file[Typecheck a single file]' \ - '--fix[Automatically fix type errors]' \ + '(--lsp)--fix[Automatically fix type errors]' \ '--help[Show this message]' \ '--ignore[Ignores input files that contain the given string in their paths (relative to the input path passed to Sorbet)]' \ + '(--update --update-all --fix)--lsp[Start the Sorbet LSP server]' \ '--quiet[Silence all non-critical errors]' \ '--suggest-typed[Try upgrading `typed` sigils]' \ - '--update[Update RBI files]' \ - '--update-all[Update all RBI files rather than just updated gems]' \ + '(--lsp)--update[Update RBI files]' \ + '(--lsp)--update-all[Update all RBI files rather than just updated gems]' \ '--verbose[Make some output more verbose]' } @@ -1929,13 +1930,14 @@ _brew_typecheck() { '--debug[Display any debugging information]' \ '(--file)--dir[Typecheck all files in a specific directory]' \ '(--dir)--file[Typecheck a single file]' \ - '--fix[Automatically fix type errors]' \ + '(--lsp)--fix[Automatically fix type errors]' \ '--help[Show this message]' \ '--ignore[Ignores input files that contain the given string in their paths (relative to the input path passed to Sorbet)]' \ + '(--update --update-all --fix)--lsp[Start the Sorbet LSP server]' \ '--quiet[Silence all non-critical errors]' \ '--suggest-typed[Try upgrading `typed` sigils]' \ - '--update[Update RBI files]' \ - '--update-all[Update all RBI files rather than just updated gems]' \ + '(--lsp)--update[Update RBI files]' \ + '(--lsp)--update-all[Update all RBI files rather than just updated gems]' \ '--verbose[Make some output more verbose]' } diff --git a/docs/Manpage.md b/docs/Manpage.md index d029bcebbf3d8..449e9d2d4c5cc 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -2775,6 +2775,10 @@ Check for typechecking errors using Sorbet. : Try upgrading `typed` sigils. +`--lsp` + +: Start the Sorbet LSP server. + `--dir` : Typecheck all files in a specific directory. diff --git a/manpages/brew.1 b/manpages/brew.1 index 5a58e9ab3910b..2cc312176969b 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1775,6 +1775,9 @@ Update all RBI files rather than just updated gems\. \fB\-\-suggest\-typed\fP Try upgrading \fBtyped\fP sigils\. .TP +\fB\-\-lsp\fP +Start the Sorbet LSP server\. +.TP \fB\-\-dir\fP Typecheck all files in a specific directory\. .TP