Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update manpage and completions. #17944

Merged
merged 1 commit into from
Aug 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading