aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2010-01-18 08:30:29 +0000
committerMax Howell2010-01-18 08:36:10 +0000
commit3bf6c5f9c9afdbfe029c163673cc849be3116d9d (patch)
tree78c16a542df5049d40175f6ebafbb526a507e74d /Library
parent7762b23c532f7a89f26cdf6d41ccf0ef54fa5a33 (diff)
downloadbrew-3bf6c5f9c9afdbfe029c163673cc849be3116d9d.tar.bz2
Document brew cleanup
Diffstat (limited to 'Library')
-rw-r--r--Library/Contributions/brew_bash_completion.sh4
-rw-r--r--Library/Homebrew/extend/ARGV.rb1
2 files changed, 3 insertions, 2 deletions
diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh
index 756621cf5..8b085d0a6 100644
--- a/Library/Contributions/brew_bash_completion.sh
+++ b/Library/Contributions/brew_bash_completion.sh
@@ -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
diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb
index 85f96eff6..19d8f9b0c 100644
--- a/Library/Homebrew/extend/ARGV.rb
+++ b/Library/Homebrew/extend/ARGV.rb
@@ -99,6 +99,7 @@ Commands:
unlink formula ...
home formula ...
info [formula] [--github]
+ cleanup [formula]
prune
update