Update manpage and completions

This commit is contained in:
Ruoyu Zhong 2024-04-23 15:49:23 +08:00
parent b53998c21f
commit 0084791616
No known key found for this signature in database
5 changed files with 26 additions and 26 deletions

View File

@ -1415,13 +1415,13 @@ _brew_list() {
case "${cur}" in case "${cur}" in
-*) -*)
__brewcomp " __brewcomp "
--auto
--cask --cask
--debug --debug
--formula --formula
--full-name --full-name
--help --help
--manual --installed-as-dependency
--installed-on-request
--multiple --multiple
--pinned --pinned
--quiet --quiet
@ -1519,13 +1519,13 @@ _brew_ls() {
case "${cur}" in case "${cur}" in
-*) -*)
__brewcomp " __brewcomp "
--auto
--cask --cask
--debug --debug
--formula --formula
--full-name --full-name
--help --help
--manual --installed-as-dependency
--installed-on-request
--multiple --multiple
--pinned --pinned
--quiet --quiet

View File

@ -990,13 +990,13 @@ __fish_brew_complete_arg 'linkage' -a '(__fish_brew_suggest_formulae_installed)'
__fish_brew_complete_cmd 'list' 'List all installed formulae and casks' __fish_brew_complete_cmd 'list' 'List all installed formulae and casks'
__fish_brew_complete_arg 'list' -l auto -d 'List the formulae installed automatically'
__fish_brew_complete_arg 'list' -l cask -d 'List only casks, or treat all named arguments as casks' __fish_brew_complete_arg 'list' -l cask -d 'List only casks, or treat all named arguments as casks'
__fish_brew_complete_arg 'list' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'list' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'list' -l formula -d 'List only formulae, or treat all named arguments as formulae' __fish_brew_complete_arg 'list' -l formula -d 'List only formulae, or treat all named arguments as formulae'
__fish_brew_complete_arg 'list' -l full-name -d 'Print formulae with fully-qualified names. Unless `--full-name`, `--versions` or `--pinned` are passed, other options (i.e. `-1`, `-l`, `-r` and `-t`) are passed to `ls`(1) which produces the actual output' __fish_brew_complete_arg 'list' -l full-name -d 'Print formulae with fully-qualified names. Unless `--full-name`, `--versions` or `--pinned` are passed, other options (i.e. `-1`, `-l`, `-r` and `-t`) are passed to `ls`(1) which produces the actual output'
__fish_brew_complete_arg 'list' -l help -d 'Show this message' __fish_brew_complete_arg 'list' -l help -d 'Show this message'
__fish_brew_complete_arg 'list' -l manual -d 'List the formulae installed on request' __fish_brew_complete_arg 'list' -l installed-as-dependency -d 'List the formulae installed as dependencies'
__fish_brew_complete_arg 'list' -l installed-on-request -d 'List the formulae installed on request'
__fish_brew_complete_arg 'list' -l multiple -d 'Only show formulae with multiple versions installed' __fish_brew_complete_arg 'list' -l multiple -d 'Only show formulae with multiple versions installed'
__fish_brew_complete_arg 'list' -l pinned -d 'List only pinned formulae, or only the specified (pinned) formulae if formula are provided. See also `pin`, `unpin`' __fish_brew_complete_arg 'list' -l pinned -d 'List only pinned formulae, or only the specified (pinned) formulae if formula are provided. See also `pin`, `unpin`'
__fish_brew_complete_arg 'list' -l quiet -d 'Make some output more quiet' __fish_brew_complete_arg 'list' -l quiet -d 'Make some output more quiet'
@ -1058,13 +1058,13 @@ __fish_brew_complete_arg 'log; and not __fish_seen_argument -l formula -l formul
__fish_brew_complete_cmd 'ls' 'List all installed formulae and casks' __fish_brew_complete_cmd 'ls' 'List all installed formulae and casks'
__fish_brew_complete_arg 'ls' -l auto -d 'List the formulae installed automatically'
__fish_brew_complete_arg 'ls' -l cask -d 'List only casks, or treat all named arguments as casks' __fish_brew_complete_arg 'ls' -l cask -d 'List only casks, or treat all named arguments as casks'
__fish_brew_complete_arg 'ls' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'ls' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'ls' -l formula -d 'List only formulae, or treat all named arguments as formulae' __fish_brew_complete_arg 'ls' -l formula -d 'List only formulae, or treat all named arguments as formulae'
__fish_brew_complete_arg 'ls' -l full-name -d 'Print formulae with fully-qualified names. Unless `--full-name`, `--versions` or `--pinned` are passed, other options (i.e. `-1`, `-l`, `-r` and `-t`) are passed to `ls`(1) which produces the actual output' __fish_brew_complete_arg 'ls' -l full-name -d 'Print formulae with fully-qualified names. Unless `--full-name`, `--versions` or `--pinned` are passed, other options (i.e. `-1`, `-l`, `-r` and `-t`) are passed to `ls`(1) which produces the actual output'
__fish_brew_complete_arg 'ls' -l help -d 'Show this message' __fish_brew_complete_arg 'ls' -l help -d 'Show this message'
__fish_brew_complete_arg 'ls' -l manual -d 'List the formulae installed on request' __fish_brew_complete_arg 'ls' -l installed-as-dependency -d 'List the formulae installed as dependencies'
__fish_brew_complete_arg 'ls' -l installed-on-request -d 'List the formulae installed on request'
__fish_brew_complete_arg 'ls' -l multiple -d 'Only show formulae with multiple versions installed' __fish_brew_complete_arg 'ls' -l multiple -d 'Only show formulae with multiple versions installed'
__fish_brew_complete_arg 'ls' -l pinned -d 'List only pinned formulae, or only the specified (pinned) formulae if formula are provided. See also `pin`, `unpin`' __fish_brew_complete_arg 'ls' -l pinned -d 'List only pinned formulae, or only the specified (pinned) formulae if formula are provided. See also `pin`, `unpin`'
__fish_brew_complete_arg 'ls' -l quiet -d 'Make some output more quiet' __fish_brew_complete_arg 'ls' -l quiet -d 'Make some output more quiet'

View File

@ -1231,16 +1231,16 @@ _brew_linkage() {
# brew list # brew list
_brew_list() { _brew_list() {
_arguments \ _arguments \
'(--cask --versions --pinned --full-name)--auto[List the formulae installed automatically]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'(--versions --pinned --manual --auto --l --r --t)--full-name[Print formulae with fully-qualified names. Unless `--full-name`, `--versions` or `--pinned` are passed, other options (i.e. `-1`, `-l`, `-r` and `-t`) are passed to `ls`(1) which produces the actual output]' \ '(--versions --pinned ---installed-on-request --installed-as-dependency --l --r --t)--full-name[Print formulae with fully-qualified names. Unless `--full-name`, `--versions` or `--pinned` are passed, other options (i.e. `-1`, `-l`, `-r` and `-t`) are passed to `ls`(1) which produces the actual output]' \
'--help[Show this message]' \ '--help[Show this message]' \
'(--cask --versions --pinned --full-name)--manual[List the formulae installed on request]' \ '(--cask --versions --pinned --full-name)--installed-as-dependency[List the formulae installed as dependencies]' \
'(--cask --versions --pinned)--installed-on-request[List the formulae installed on request]' \
'(--cask --pinned)--multiple[Only show formulae with multiple versions installed]' \ '(--cask --pinned)--multiple[Only show formulae with multiple versions installed]' \
'(--cask --multiple --manual --auto --1 --l --r --t --full-name)--pinned[List only pinned formulae, or only the specified (pinned) formulae if formula are provided. See also `pin`, `unpin`]' \ '(--cask --multiple --installed-on-request --installed-as-dependency --1 --l --r --t --full-name)--pinned[List only pinned formulae, or only the specified (pinned) formulae if formula are provided. See also `pin`, `unpin`]' \
'--quiet[Make some output more quiet]' \ '--quiet[Make some output more quiet]' \
'--verbose[Make some output more verbose]' \ '--verbose[Make some output more verbose]' \
'(--manual --auto --1 --l --r --t --full-name)--versions[Show the version number for installed formulae, or only the specified formulae if formula are provided]' \ '(--installed-on-request --installed-as-dependency --1 --l --r --t --full-name)--versions[Show the version number for installed formulae, or only the specified formulae if formula are provided]' \
'-1[Force output to be one entry per line. This is the default when output is not to a terminal]' \ '-1[Force output to be one entry per line. This is the default when output is not to a terminal]' \
'-l[List formulae and/or casks in long format. Has no effect when a formula or cask name is passed as an argument]' \ '-l[List formulae and/or casks in long format. Has no effect when a formula or cask name is passed as an argument]' \
'-r[Reverse the order of the formulae and/or casks sort to list the oldest entries first. Has no effect when a formula or cask name is passed as an argument]' \ '-r[Reverse the order of the formulae and/or casks sort to list the oldest entries first. Has no effect when a formula or cask name is passed as an argument]' \
@ -1249,7 +1249,7 @@ _brew_list() {
'(--cask)--formula[List only formulae, or treat all named arguments as formulae]' \ '(--cask)--formula[List only formulae, or treat all named arguments as formulae]' \
'*::installed_formula:__brew_installed_formulae' \ '*::installed_formula:__brew_installed_formulae' \
- installed_cask \ - installed_cask \
'(--formula --pinned --multiple --manual --auto)--cask[List only casks, or treat all named arguments as casks]' \ '(--formula --pinned --multiple --installed-on-request --installed-as-dependency)--cask[List only casks, or treat all named arguments as casks]' \
'*::installed_cask:__brew_installed_casks' '*::installed_cask:__brew_installed_casks'
} }
@ -1314,16 +1314,16 @@ _brew_log() {
# brew ls # brew ls
_brew_ls() { _brew_ls() {
_arguments \ _arguments \
'(--cask --versions --pinned --full-name)--auto[List the formulae installed automatically]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'(--versions --pinned --manual --auto --l --r --t)--full-name[Print formulae with fully-qualified names. Unless `--full-name`, `--versions` or `--pinned` are passed, other options (i.e. `-1`, `-l`, `-r` and `-t`) are passed to `ls`(1) which produces the actual output]' \ '(--versions --pinned ---installed-on-request --installed-as-dependency --l --r --t)--full-name[Print formulae with fully-qualified names. Unless `--full-name`, `--versions` or `--pinned` are passed, other options (i.e. `-1`, `-l`, `-r` and `-t`) are passed to `ls`(1) which produces the actual output]' \
'--help[Show this message]' \ '--help[Show this message]' \
'(--cask --versions --pinned --full-name)--manual[List the formulae installed on request]' \ '(--cask --versions --pinned --full-name)--installed-as-dependency[List the formulae installed as dependencies]' \
'(--cask --versions --pinned)--installed-on-request[List the formulae installed on request]' \
'(--cask --pinned)--multiple[Only show formulae with multiple versions installed]' \ '(--cask --pinned)--multiple[Only show formulae with multiple versions installed]' \
'(--cask --multiple --manual --auto --1 --l --r --t --full-name)--pinned[List only pinned formulae, or only the specified (pinned) formulae if formula are provided. See also `pin`, `unpin`]' \ '(--cask --multiple --installed-on-request --installed-as-dependency --1 --l --r --t --full-name)--pinned[List only pinned formulae, or only the specified (pinned) formulae if formula are provided. See also `pin`, `unpin`]' \
'--quiet[Make some output more quiet]' \ '--quiet[Make some output more quiet]' \
'--verbose[Make some output more verbose]' \ '--verbose[Make some output more verbose]' \
'(--manual --auto --1 --l --r --t --full-name)--versions[Show the version number for installed formulae, or only the specified formulae if formula are provided]' \ '(--installed-on-request --installed-as-dependency --1 --l --r --t --full-name)--versions[Show the version number for installed formulae, or only the specified formulae if formula are provided]' \
'-1[Force output to be one entry per line. This is the default when output is not to a terminal]' \ '-1[Force output to be one entry per line. This is the default when output is not to a terminal]' \
'-l[List formulae and/or casks in long format. Has no effect when a formula or cask name is passed as an argument]' \ '-l[List formulae and/or casks in long format. Has no effect when a formula or cask name is passed as an argument]' \
'-r[Reverse the order of the formulae and/or casks sort to list the oldest entries first. Has no effect when a formula or cask name is passed as an argument]' \ '-r[Reverse the order of the formulae and/or casks sort to list the oldest entries first. Has no effect when a formula or cask name is passed as an argument]' \
@ -1332,7 +1332,7 @@ _brew_ls() {
'(--cask)--formula[List only formulae, or treat all named arguments as formulae]' \ '(--cask)--formula[List only formulae, or treat all named arguments as formulae]' \
'*::installed_formula:__brew_installed_formulae' \ '*::installed_formula:__brew_installed_formulae' \
- installed_cask \ - installed_cask \
'(--formula --pinned --multiple --manual --auto)--cask[List only casks, or treat all named arguments as casks]' \ '(--formula --pinned --multiple --installed-on-request --installed-as-dependency)--cask[List only casks, or treat all named arguments as casks]' \
'*::installed_cask:__brew_installed_casks' '*::installed_cask:__brew_installed_casks'
} }

View File

@ -741,13 +741,13 @@ paths within its current keg. If *`cask`* is provided, list its artifacts.
: List only pinned formulae, or only the specified (pinned) formulae if : List only pinned formulae, or only the specified (pinned) formulae if
*`formula`* are provided. See also `pin`, `unpin`. *`formula`* are provided. See also `pin`, `unpin`.
`--manual` `--installed-on-request`
: List the formulae installed on request. : List the formulae installed on request.
`--auto` `--installed-as-dependency`
: List the formulae installed automatically. : List the formulae installed as dependencies.
`-1` `-1`

View File

@ -464,11 +464,11 @@ Only show formulae with multiple versions installed\.
\fB\-\-pinned\fP \fB\-\-pinned\fP
List only pinned formulae, or only the specified (pinned) formulae if \fIformula\fP are provided\. See also \fBpin\fP, \fBunpin\fP\&\. List only pinned formulae, or only the specified (pinned) formulae if \fIformula\fP are provided\. See also \fBpin\fP, \fBunpin\fP\&\.
.TP .TP
\fB\-\-manual\fP \fB\-\-installed\-on\-request\fP
List the formulae installed on request\. List the formulae installed on request\.
.TP .TP
\fB\-\-auto\fP \fB\-\-installed\-as\-dependency\fP
List the formulae installed automatically\. List the formulae installed as dependencies\.
.TP .TP
\fB\-1\fP \fB\-1\fP
Force output to be one entry per line\. This is the default when output is not to a terminal\. Force output to be one entry per line\. This is the default when output is not to a terminal\.