mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
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.
This commit is contained in:
parent
5607487e0b
commit
61c6295fd5
@ -2028,6 +2028,24 @@ _brew_ruby() {
|
|||||||
__brew_complete_files
|
__brew_complete_files
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_brew_rubydoc() {
|
||||||
|
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||||
|
case "${cur}" in
|
||||||
|
-*)
|
||||||
|
__brewcomp "
|
||||||
|
--debug
|
||||||
|
--help
|
||||||
|
--only-public
|
||||||
|
--open
|
||||||
|
--quiet
|
||||||
|
--verbose
|
||||||
|
"
|
||||||
|
return
|
||||||
|
;;
|
||||||
|
*) ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
_brew_search() {
|
_brew_search() {
|
||||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||||
case "${cur}" in
|
case "${cur}" in
|
||||||
@ -2759,6 +2777,7 @@ _brew() {
|
|||||||
remove) _brew_remove ;;
|
remove) _brew_remove ;;
|
||||||
rm) _brew_rm ;;
|
rm) _brew_rm ;;
|
||||||
ruby) _brew_ruby ;;
|
ruby) _brew_ruby ;;
|
||||||
|
rubydoc) _brew_rubydoc ;;
|
||||||
search) _brew_search ;;
|
search) _brew_search ;;
|
||||||
sh) _brew_sh ;;
|
sh) _brew_sh ;;
|
||||||
style) _brew_style ;;
|
style) _brew_style ;;
|
||||||
|
@ -1363,6 +1363,15 @@ __fish_brew_complete_arg 'ruby' -l e -d 'Execute the given text string as a scri
|
|||||||
__fish_brew_complete_arg 'ruby' -l r -d 'Load a library using `require`'
|
__fish_brew_complete_arg 'ruby' -l r -d 'Load a library using `require`'
|
||||||
|
|
||||||
|
|
||||||
|
__fish_brew_complete_cmd 'rubydoc' 'Generate Homebrew\'s RubyDoc documentation'
|
||||||
|
__fish_brew_complete_arg 'rubydoc' -l debug -d 'Display any debugging information'
|
||||||
|
__fish_brew_complete_arg 'rubydoc' -l help -d 'Show this message'
|
||||||
|
__fish_brew_complete_arg 'rubydoc' -l only-public -d 'Only generate public API documentation'
|
||||||
|
__fish_brew_complete_arg 'rubydoc' -l open -d 'Open generated documentation in a browser'
|
||||||
|
__fish_brew_complete_arg 'rubydoc' -l quiet -d 'Make some output more quiet'
|
||||||
|
__fish_brew_complete_arg 'rubydoc' -l verbose -d 'Make some output more verbose'
|
||||||
|
|
||||||
|
|
||||||
__fish_brew_complete_cmd 'search' 'Perform a substring search of cask tokens and formula names for text'
|
__fish_brew_complete_cmd 'search' 'Perform a substring search of cask tokens and formula names for text'
|
||||||
__fish_brew_complete_arg 'search' -l archlinux -d 'Search for text in the given database'
|
__fish_brew_complete_arg 'search' -l archlinux -d 'Search for text in the given database'
|
||||||
__fish_brew_complete_arg 'search' -l cask -d 'Search for casks'
|
__fish_brew_complete_arg 'search' -l cask -d 'Search for casks'
|
||||||
|
@ -85,6 +85,7 @@ remove
|
|||||||
rm
|
rm
|
||||||
rubocop
|
rubocop
|
||||||
ruby
|
ruby
|
||||||
|
rubydoc
|
||||||
search
|
search
|
||||||
setup-ruby
|
setup-ruby
|
||||||
sh
|
sh
|
||||||
|
@ -205,6 +205,7 @@ __brew_internal_commands() {
|
|||||||
'release:Create a new draft Homebrew/brew release with the appropriate version number and release notes'
|
'release:Create a new draft Homebrew/brew release with the appropriate version number and release notes'
|
||||||
'rubocop:Installs, configures and runs Homebrew'\''s `rubocop`'
|
'rubocop:Installs, configures and runs Homebrew'\''s `rubocop`'
|
||||||
'ruby:Run a Ruby instance with Homebrew'\''s libraries loaded'
|
'ruby:Run a Ruby instance with Homebrew'\''s libraries loaded'
|
||||||
|
'rubydoc:Generate Homebrew'\''s RubyDoc documentation'
|
||||||
'search:Perform a substring search of cask tokens and formula names for text'
|
'search:Perform a substring search of cask tokens and formula names for text'
|
||||||
'setup-ruby:Installs and configures Homebrew'\''s Ruby'
|
'setup-ruby:Installs and configures Homebrew'\''s Ruby'
|
||||||
'sh:Enter an interactive shell for Homebrew'\''s build environment'
|
'sh:Enter an interactive shell for Homebrew'\''s build environment'
|
||||||
@ -1684,6 +1685,17 @@ _brew_ruby() {
|
|||||||
'*::file:__brew_formulae_or_ruby_files'
|
'*::file:__brew_formulae_or_ruby_files'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# brew rubydoc
|
||||||
|
_brew_rubydoc() {
|
||||||
|
_arguments \
|
||||||
|
'--debug[Display any debugging information]' \
|
||||||
|
'--help[Show this message]' \
|
||||||
|
'--only-public[Only generate public API documentation]' \
|
||||||
|
'--open[Open generated documentation in a browser]' \
|
||||||
|
'--quiet[Make some output more quiet]' \
|
||||||
|
'--verbose[Make some output more verbose]'
|
||||||
|
}
|
||||||
|
|
||||||
# brew search
|
# brew search
|
||||||
_brew_search() {
|
_brew_search() {
|
||||||
_arguments \
|
_arguments \
|
||||||
|
@ -2554,6 +2554,18 @@ Run e.g. `brew ruby -- --version` to pass arbitrary arguments to `ruby`.
|
|||||||
|
|
||||||
: Execute the given text string as a script.
|
: Execute the given text string as a script.
|
||||||
|
|
||||||
|
### `rubydoc` \[`--only-public`\] \[`--open`\]
|
||||||
|
|
||||||
|
Generate Homebrew's RubyDoc documentation.
|
||||||
|
|
||||||
|
`--only-public`
|
||||||
|
|
||||||
|
: Only generate public API documentation.
|
||||||
|
|
||||||
|
`--open`
|
||||||
|
|
||||||
|
: Open generated documentation in a browser.
|
||||||
|
|
||||||
### `sh` \[`--env=`\] \[`--cmd=`\] \[*`file`*\]
|
### `sh` \[`--env=`\] \[`--cmd=`\] \[*`file`*\]
|
||||||
|
|
||||||
Enter an interactive shell for Homebrew's build environment. Use
|
Enter an interactive shell for Homebrew's build environment. Use
|
||||||
|
@ -1627,6 +1627,14 @@ Load a library using \fBrequire\fP\&\.
|
|||||||
.TP
|
.TP
|
||||||
\fB\-e\fP
|
\fB\-e\fP
|
||||||
Execute the given text string as a script\.
|
Execute the given text string as a script\.
|
||||||
|
.SS "\fBrubydoc\fP \fR[\fB\-\-only\-public\fP] \fR[\fB\-\-open\fP]"
|
||||||
|
Generate Homebrew\[u2019]s RubyDoc documentation\.
|
||||||
|
.TP
|
||||||
|
\fB\-\-only\-public\fP
|
||||||
|
Only generate public API documentation\.
|
||||||
|
.TP
|
||||||
|
\fB\-\-open\fP
|
||||||
|
Open generated documentation in a browser\.
|
||||||
.SS "\fBsh\fP \fR[\fB\-\-env=\fP] \fR[\fB\-\-cmd=\fP] \fR[\fIfile\fP]"
|
.SS "\fBsh\fP \fR[\fB\-\-env=\fP] \fR[\fB\-\-cmd=\fP] \fR[\fIfile\fP]"
|
||||||
Enter an interactive shell for Homebrew\[u2019]s build environment\. Use years\-battle\-hardened build logic to help your \fB\&\./configure && make && make install\fP and even your \fBgem install\fP succeed\. Especially handy if you run Homebrew in an Xcode\-only configuration since it adds tools like \fBmake\fP to your \fBPATH\fP which build systems would not find otherwise\.
|
Enter an interactive shell for Homebrew\[u2019]s build environment\. Use years\-battle\-hardened build logic to help your \fB\&\./configure && make && make install\fP and even your \fBgem install\fP succeed\. Especially handy if you run Homebrew in an Xcode\-only configuration since it adds tools like \fBmake\fP to your \fBPATH\fP which build systems would not find otherwise\.
|
||||||
.TP
|
.TP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user