Skip to content

Commit

Permalink
Update manpage and completions.
Browse files Browse the repository at this point in the history
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
  • Loading branch information
BrewTestBot committed Aug 2, 2024
1 parent 6cfa083 commit e158a52
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
2 changes: 2 additions & 0 deletions completions/bash/brew
Original file line number Diff line number Diff line change
Expand Up @@ -2316,6 +2316,7 @@ _brew_tc() {
--fix
--help
--ignore
--lsp
--quiet
--suggest-typed
--update
Expand Down Expand Up @@ -2384,6 +2385,7 @@ _brew_typecheck() {
--fix
--help
--ignore
--lsp
--quiet
--suggest-typed
--update
Expand Down
2 changes: 2 additions & 0 deletions completions/fish/brew.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
14 changes: 8 additions & 6 deletions completions/zsh/_brew
Original file line number Diff line number Diff line change
Expand Up @@ -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]'
}

Expand Down Expand Up @@ -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]'
}

Expand Down
4 changes: 4 additions & 0 deletions docs/Manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions manpages/brew.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e158a52

Please sign in to comment.