mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Allow brew abv without arguments
This commit is contained in:
parent
21a935bb02
commit
0997a04bf8
2
bin/brew
2
bin/brew
@ -177,7 +177,7 @@ Commands:
|
|||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
def abv keg
|
def abv keg=''
|
||||||
keg=$cellar+keg
|
keg=$cellar+keg
|
||||||
`find #{keg} -type f | wc -l`.strip+' files, '+`du -hd0 #{keg} | cut -d"\t" -f1`.strip
|
`find #{keg} -type f | wc -l`.strip+' files, '+`du -hd0 #{keg} | cut -d"\t" -f1`.strip
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user