mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Update manpage and completions
This commit is contained in:
parent
5e63d3188f
commit
a6268a19d6
@ -1415,11 +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
|
||||||
--multiple
|
--multiple
|
||||||
--pinned
|
--pinned
|
||||||
--quiet
|
--quiet
|
||||||
@ -1517,11 +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
|
||||||
--multiple
|
--multiple
|
||||||
--pinned
|
--pinned
|
||||||
--quiet
|
--quiet
|
||||||
|
@ -990,11 +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 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'
|
||||||
@ -1056,11 +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 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'
|
||||||
|
@ -1231,14 +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 --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 --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]' \
|
||||||
'--help[Show this message]' \
|
'--help[Show this message]' \
|
||||||
|
'(--cask --versions --pinned --full-name)--manual[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 --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 --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`]' \
|
||||||
'--quiet[Make some output more quiet]' \
|
'--quiet[Make some output more quiet]' \
|
||||||
'--verbose[Make some output more verbose]' \
|
'--verbose[Make some output more verbose]' \
|
||||||
'(--1 --l --r --t --full-name)--versions[Show the version number for installed formulae, or only the specified formulae if formula are provided]' \
|
'(--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]' \
|
||||||
'-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]' \
|
||||||
@ -1247,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)--cask[List only casks, or treat all named arguments as casks]' \
|
'(--formula --pinned --multiple --manual --auto)--cask[List only casks, or treat all named arguments as casks]' \
|
||||||
'*::installed_cask:__brew_installed_casks'
|
'*::installed_cask:__brew_installed_casks'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1312,14 +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 --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 --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]' \
|
||||||
'--help[Show this message]' \
|
'--help[Show this message]' \
|
||||||
|
'(--cask --versions --pinned --full-name)--manual[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 --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 --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`]' \
|
||||||
'--quiet[Make some output more quiet]' \
|
'--quiet[Make some output more quiet]' \
|
||||||
'--verbose[Make some output more verbose]' \
|
'--verbose[Make some output more verbose]' \
|
||||||
'(--1 --l --r --t --full-name)--versions[Show the version number for installed formulae, or only the specified formulae if formula are provided]' \
|
'(--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]' \
|
||||||
'-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]' \
|
||||||
@ -1328,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)--cask[List only casks, or treat all named arguments as casks]' \
|
'(--formula --pinned --multiple --manual --auto)--cask[List only casks, or treat all named arguments as casks]' \
|
||||||
'*::installed_cask:__brew_installed_casks'
|
'*::installed_cask:__brew_installed_casks'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -741,6 +741,14 @@ 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`
|
||||||
|
|
||||||
|
: List the formulae installed on request.
|
||||||
|
|
||||||
|
`--auto`
|
||||||
|
|
||||||
|
: List the formulae installed automatically.
|
||||||
|
|
||||||
`-1`
|
`-1`
|
||||||
|
|
||||||
: Force output to be one entry per line. This is the default when output is not
|
: Force output to be one entry per line. This is the default when output is not
|
||||||
|
@ -464,6 +464,12 @@ 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
|
||||||
|
List the formulae installed on request\.
|
||||||
|
.TP
|
||||||
|
\fB\-\-auto\fP
|
||||||
|
List the formulae installed automatically\.
|
||||||
|
.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\.
|
||||||
.TP
|
.TP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user