Document brew cleanup
This commit is contained in:
parent
7762b23c53
commit
3bf6c5f9c9
@ -13,7 +13,7 @@ _brew_to_completion()
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
|
||||
# We only complete unabbreviated commands...
|
||||
actions="configure create edit generate homepage info install list link options prune remove search unlink update uses"
|
||||
actions="cleanup configure create edit generate homepage info install list link options prune remove search unlink update uses"
|
||||
|
||||
# Subcommand list
|
||||
if [[ ( ${COMP_CWORD} -eq 1 ) && ( ${COMP_WORDS[0]} == brew ) ]] ; then
|
||||
@ -32,7 +32,7 @@ _brew_to_completion()
|
||||
;;
|
||||
|
||||
# Commands that take an existing brew...
|
||||
abv|info|list|link|ls|ln|rm|remove|uninstall|unlink)
|
||||
abv|cleanup|info|list|link|ls|ln|rm|remove|uninstall|unlink)
|
||||
cellar_contents=`ls ${brew_base}/Cellar/`
|
||||
COMPREPLY=( $(compgen -W "${cellar_contents}" -- ${cur}) )
|
||||
return 0
|
||||
|
||||
@ -99,6 +99,7 @@ Commands:
|
||||
unlink formula ...
|
||||
home formula ...
|
||||
info [formula] [--github]
|
||||
cleanup [formula]
|
||||
prune
|
||||
update
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user