If multiple kegs, default to formula keg
If multiple kegs, default to formula keg

If it exists, ARGV.kegs will return the Formula.prefix keg for each rack examined.

So for ARGV=[wget, foo] and the following Cellar (wget/1.11, wget/1.12, foo/1.0) you'll get [wget/1.12, foo/1.0] from ARGV.kegs provided 1.12 is the formula version of wget.

jmsundar/brew,bfontaine/brew,EricFromCanada/brew,claui/brew,palxex/brew,Linuxbrew/brew,Homebrew/brew,mistydemeo/homebrew,JCount/brew,alyssais/brew,tonyg/homebrew,gregory-nisbet/brew,aw1621107/brew,mistydemeo/homebrew,staticfloat/brew,mgrimes/brew,DomT4/brew,reelsense/brew,bfontaine/brew,DomT4/brew,MikeMcQuaid/brew,aw1621107/brew,Homebrew/brew,toonetown/homebrew,sjackman/homebrew,konqui/brew,JCount/brew,MikeMcQuaid/brew,zmwangx/brew,mgrimes/brew,palxex/brew,DomT4/brew,nandub/brew,reitermarkus/brew,JCount/brew,reitermarkus/brew,bfontaine/brew,Linuxbrew/brew,vitorgalvao/brew,nandub/brew,rwhogg/brew,tonyg/homebrew,tonyg/homebrew,jmsundar/brew,mahori/brew,rwhogg/brew,nandub/brew,vitorgalvao/brew,gregory-nisbet/brew,hanxue/linuxbrew,palxex/brew,AnastasiaSulyagina/brew,sjackman/homebrew,aw1621107/brew,Homebrew/brew,gordonmcshane/homebrew,maxim-belkin/brew,sjackman/homebrew,reitermarkus/brew,mgrimes/brew,DomT4/brew,claui/brew,konqui/brew,JCount/brew,EricFromCanada/brew,pseudocody/brew,Homebrew/brew,toonetown/homebrew,amar-laksh/brew_sudo,mahori/brew,gordonmcshane/homebrew,claui/brew,toonetown/homebrew,alyssais/brew,reelsense/brew,reelsense/brew,konqui/brew,konqui/brew,pseudocody/brew,hanxue/linuxbrew,maxim-belkin/brew,jmsundar/brew,zmwangx/brew,staticfloat/brew,sjackman/homebrew,Linuxbrew/brew,ilovezfs/brew,reitermarkus/brew,alyssais/brew,EricFromCanada/brew,rwhogg/brew,mahori/brew,mahori/brew,vitorgalvao/brew,amar-laksh/brew_sudo,gregory-nisbet/brew,gordonmcshane/homebrew,AnastasiaSulyagina/brew,muellermartin/dist,ilovezfs/brew,MikeMcQuaid/brew,amar-laksh/brew_sudo,ilovezfs/brew,hanxue/linuxbrew,muellermartin/dist,AnastasiaSulyagina/brew,EricFromCanada/brew,staticfloat/brew,muellermartin/dist,mistydemeo/homebrew,claui/brew,pseudocody/brew,zmwangx/brew,nandub/brew,maxim-belkin/brew,vitorgalvao/brew,Linuxbrew/brew,MikeMcQuaid/brew