diff options
| author | Max Howell | 2010-01-18 08:30:29 +0000 |
|---|---|---|
| committer | Max Howell | 2010-01-18 08:36:10 +0000 |
| commit | f30d1d7e4da12a693e246fbfda3555b1d6c6232b (patch) | |
| tree | ad394ef13b14678f3b599299800299b7676a081d /Library | |
| parent | 855074839d679121c939fe5454a23fba1c050028 (diff) | |
| download | homebrew-f30d1d7e4da12a693e246fbfda3555b1d6c6232b.tar.bz2 | |
Document brew cleanup
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Contributions/brew_bash_completion.sh | 4 | ||||
| -rw-r--r-- | Library/Homebrew/extend/ARGV.rb | 1 |
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 |
