tap: improve arguments resolution
tap: improve arguments resolution

* Use `ARGV.include?` instead of `ARGV.first ==`, so users can pass
  `-v`/`-d` before the function flags(i.e. `--list-pinned` etc)
* Restore the ability to call `brew tap --flags tap/name`.

princeofdarkness76/homebrew,getgauge/homebrew,muellermartin/homebrew,arnested/homebrew,drewwells/homebrew,galaxy001/homebrew,Red54/homebrew,marcwebbie/homebrew,pcottle/homebrew,thinker0/homebrew,lrascao/homebrew,MoSal/homebrew,gicmo/homebrew,mobileoverlord/homebrew-1,ento/homebrew,menivaitsi/homebrew,redpen-cc/homebrew,knpwrs/homebrew,sometimesfood/homebrew,saketkc/linuxbrew,ilovezfs/homebrew,decors/homebrew,dgageot/homebrew,zhipeng-jia/homebrew,recruit-tech/homebrew,saketkc/linuxbrew,MartinDelille/homebrew,alebcay/homebrew,reelsense/homebrew,SuperNEMO-DBD/cadfaelbrew,arnested/homebrew,cosmo0920/homebrew,Red54/homebrew,benjaminfrank/homebrew,danieroux/homebrew,Red54/homebrew,SteveClement/homebrew,Asuranceturix/homebrew,ebouaziz/linuxbrew,michaKFromParis/homebrew-sparks,bigbes/homebrew,hanxue/homebrew,nandub/homebrew,MoSal/homebrew,blogabe/homebrew,vigo/homebrew,slyphon/homebrew,kodabb/homebrew,mmizutani/homebrew,emcrisostomo/homebrew,youtux/homebrew,cosmo0920/homebrew,gnubila-france/linuxbrew,kenips/homebrew,haihappen/homebrew,miketheman/homebrew,pcottle/homebrew,zhipeng-jia/homebrew,jconley/homebrew,ralic/homebrew,muellermartin/homebrew,zhipeng-jia/homebrew,knpwrs/homebrew,yumitsu/homebrew,johanhammar/homebrew,redpen-cc/homebrew,ilovezfs/homebrew,elyscape/homebrew,quantumsteve/homebrew,OJFord/homebrew,thinker0/homebrew,skatsuta/homebrew,galaxy001/homebrew,esamson/homebrew,emcrisostomo/homebrew,pdxdan/homebrew,eighthave/homebrew,AlexejK/homebrew,bigbes/homebrew,skatsuta/homebrew,OJFord/homebrew,cprecioso/homebrew,influxdb/homebrew,filcab/homebrew,keith/homebrew,feelpp/homebrew,jab/homebrew,liamstask/homebrew,utzig/homebrew,SteveClement/homebrew,influxdata/homebrew,michaKFromParis/homebrew-sparks,kodabb/homebrew,scpeters/homebrew,mactkg/homebrew,base10/homebrew,jsjohnst/homebrew,reelsense/homebrew,MoSal/homebrew,afh/homebrew,manphiz/homebrew,cprecioso/homebrew,hanxue/homebrew,MartinDelille/homebrew,youtux/homebrew,bukzor/linuxbrew,georgschoelly/homebrew,elgertam/homebrew,benjaminfrank/homebrew,iostat/homebrew2,dericed/homebrew,ebouaziz/linuxbrew,sakra/homebrew,osimola/homebrew,filcab/homebrew,lrascao/homebrew,pcottle/homebrew,jarrettmeyer/homebrew,sferik/homebrew,optikfluffel/homebrew,optikfluffel/homebrew,ablyler/homebrew,gicmo/homebrew,drewwells/homebrew,chadcatlett/homebrew,elgertam/homebrew,recruit-tech/homebrew,ybott/homebrew,Asuranceturix/homebrew,vigo/homebrew,drbenmorgan/linuxbrew,Asuranceturix/homebrew,totalvoidness/homebrew,zchee/homebrew,dericed/homebrew,redpen-cc/homebrew,vigo/homebrew,Homebrew/linuxbrew,Linuxbrew/linuxbrew,sferik/homebrew,ento/homebrew,princeofdarkness76/homebrew,jiashuw/homebrew,base10/homebrew,elyscape/homebrew,dplarson/homebrew,MoSal/homebrew,hyuni/homebrew,knpwrs/homebrew,polishgeeks/homebrew,dutchcoders/homebrew,Chilledheart/homebrew,kodabb/homebrew,dgageot/homebrew,dplarson/homebrew,elyscape/homebrew,3van/homebrew,elgertam/homebrew,jamer/homebrew,esamson/homebrew,hongkongkiwi/homebrew,dutchcoders/homebrew,adamliter/homebrew,mobileoverlord/homebrew-1,sakra/homebrew,3van/homebrew,SuperNEMO-DBD/cadfaelbrew,keith/homebrew,muellermartin/homebrew,retrography/homebrew,influxdb/homebrew,teslamint/homebrew,frodeaa/homebrew,hongkongkiwi/homebrew,gnubila-france/linuxbrew,manphiz/homebrew,galaxy001/homebrew,jiashuw/homebrew,Chilledheart/homebrew,getgauge/homebrew,kevinastone/homebrew,reelsense/homebrew,georgschoelly/homebrew,ebouaziz/linuxbrew,kevinastone/homebrew,marcwebbie/homebrew,joshfriend/homebrew,mkrapp/homebrew,brunchboy/homebrew,Angeldude/linuxbrew,alebcay/homebrew,iostat/homebrew2,miketheman/homebrew,teslamint/homebrew,MartinDelille/homebrew,ento/homebrew,menivaitsi/homebrew,theeternalsw0rd/homebrew,Homebrew/homebrew,feelpp/homebrew,esamson/homebrew,blogabe/homebrew,hakamadare/homebrew,kevinastone/homebrew,drbenmorgan/linuxbrew,LinusU/homebrew,bigbes/homebrew,joshfriend/homebrew,influxdata/homebrew,ryanfb/homebrew,iostat/homebrew2,BrewTestBot/homebrew,brunchboy/homebrew,reelsense/linuxbrew,blogabe/homebrew,alebcay/homebrew,pdxdan/homebrew,johanhammar/homebrew,jarrettmeyer/homebrew,dickeyxxx/homebrew,cscetbon/homebrew,deorth/homebrew,Red54/homebrew,dongcarl/homebrew,cosmo0920/homebrew,influxdb/homebrew,kenips/homebrew,skinny-framework/homebrew,sjackman/linuxbrew,quantumsteve/homebrew,BrewTestBot/homebrew,TaylorMonacelli/homebrew,manphiz/homebrew,sjackman/linuxbrew,Linuxbrew/linuxbrew,osimola/homebrew,manphiz/homebrew,teslamint/homebrew,dickeyxxx/homebrew,Homebrew/linuxbrew,sferik/homebrew,jiashuw/homebrew,drbenmorgan/linuxbrew,slyphon/homebrew,nandub/homebrew,mobileoverlord/homebrew-1,deorth/homebrew,retrography/homebrew,ExtremeMan/homebrew,liamstask/homebrew,mactkg/homebrew,recruit-tech/homebrew,ryanfb/homebrew,jarrettmeyer/homebrew,georgschoelly/homebrew,johanhammar/homebrew,dongcarl/homebrew,davydden/linuxbrew,danieroux/homebrew,emcrisostomo/homebrew,afh/homebrew,youtux/homebrew,decors/homebrew,arnested/homebrew,skinny-framework/homebrew,tutumcloud/homebrew,treyharris/homebrew,dalanmiller/homebrew,knpwrs/homebrew,skinny-framework/homebrew,zchee/homebrew,princeofdarkness76/homebrew,3van/homebrew,kenips/homebrew,hyuni/homebrew,esamson/homebrew,SteveClement/homebrew,dalanmiller/homebrew,jiashuw/homebrew,totalvoidness/homebrew,booi/homebrew,brunchboy/homebrew,gawbul/homebrew,cprecioso/homebrew,TaylorMonacelli/homebrew,cscetbon/homebrew,jab/homebrew,treyharris/homebrew,quantumsteve/homebrew,polishgeeks/homebrew,sferik/homebrew,johanhammar/homebrew,jsjohnst/homebrew,nelstrom/homebrew,adamliter/homebrew,mmizutani/homebrew,skatsuta/homebrew,ExtremeMan/homebrew,dunn/homebrew,royhodgman/homebrew,theeternalsw0rd/homebrew,reelsense/linuxbrew,dplarson/homebrew,tschoonj/homebrew,royhodgman/homebrew,TaylorMonacelli/homebrew,brunchboy/homebrew,BrewTestBot/homebrew,TaylorMonacelli/homebrew,pcottle/homebrew,dericed/homebrew,dunn/homebrew,royhodgman/homebrew,afh/homebrew,hyuni/homebrew,decors/homebrew,Linuxbrew/linuxbrew,ablyler/homebrew,liamstask/homebrew,jsjohnst/homebrew,iandennismiller/homebrew,Angeldude/linuxbrew,filcab/homebrew,booi/homebrew,emcrisostomo/homebrew,ebouaziz/linuxbrew,dalanmiller/homebrew,Asuranceturix/homebrew,slyphon/homebrew,scpeters/homebrew,OJFord/homebrew,keith/homebrew,OJFord/homebrew,DoomHammer/linuxbrew,drewwells/homebrew,menivaitsi/homebrew,mactkg/homebrew,dickeyxxx/homebrew,dutchcoders/homebrew,iostat/homebrew2,hongkongkiwi/homebrew,AlexejK/homebrew,frodeaa/homebrew,pdxdan/homebrew,Angeldude/linuxbrew,skinny-framework/homebrew,osimola/homebrew,Chilledheart/homebrew,polishgeeks/homebrew,mkrapp/homebrew,apjanke/homebrew,recruit-tech/homebrew,elyscape/homebrew,adamliter/homebrew,MartinDelille/homebrew,iandennismiller/homebrew,feelpp/homebrew,dickeyxxx/homebrew,AlexejK/homebrew,tutumcloud/homebrew,dalanmiller/homebrew,tschoonj/homebrew,influxdata/homebrew,elgertam/homebrew,gnubila-france/linuxbrew,Homebrew/homebrew,jconley/homebrew,jsjohnst/homebrew,scpeters/homebrew,ento/homebrew,SteveClement/homebrew,hanxue/homebrew,yazuuchi/homebrew,decors/homebrew,scorphus/homebrew,ralic/homebrew,polishgeeks/homebrew,bukzor/linuxbrew,Homebrew/homebrew,cscetbon/homebrew,dgageot/homebrew,bigbes/homebrew,muellermartin/homebrew,yazuuchi/homebrew,gicmo/homebrew,hakamadare/homebrew,redpen-cc/homebrew,nandub/homebrew,danieroux/homebrew,drbenmorgan/linuxbrew,eighthave/homebrew,cosmo0920/homebrew,Linuxbrew/linuxbrew,Homebrew/linuxbrew,cprecioso/homebrew,BrewTestBot/homebrew,mactkg/homebrew,Angeldude/linuxbrew,scorphus/homebrew,tutumcloud/homebrew,keith/homebrew,jamer/homebrew,iandennismiller/homebrew,optikfluffel/homebrew,scorphus/homebrew,sakra/homebrew,danieroux/homebrew,slyphon/homebrew,SuperNEMO-DBD/cadfaelbrew,josa42/homebrew,jamer/homebrew,yazuuchi/homebrew,base10/homebrew,deorth/homebrew,ablyler/homebrew,joshfriend/homebrew,thinker0/homebrew,gawbul/homebrew,base10/homebrew,jamer/homebrew,nelstrom/homebrew,ybott/homebrew,dongcarl/homebrew,hyuni/homebrew,gnubila-france/linuxbrew,jconley/homebrew,scpeters/homebrew,georgschoelly/homebrew,yumitsu/homebrew,reelsense/linuxbrew,benjaminfrank/homebrew,SteveClement/homebrew,nelstrom/homebrew,royhodgman/homebrew,reelsense/linuxbrew,marcwebbie/homebrew,lrascao/homebrew,DoomHammer/linuxbrew,eighthave/homebrew,osimola/homebrew,ear/homebrew,Asuranceturix/homebrew,josa42/homebrew,retrography/homebrew,saketkc/linuxbrew,skatsuta/homebrew,miketheman/homebrew,sakra/homebrew,utzig/homebrew,ilovezfs/homebrew,ybott/homebrew,totalvoidness/homebrew,davydden/linuxbrew,AlexejK/homebrew,Chilledheart/homebrew,galaxy001/homebrew,chadcatlett/homebrew,arnested/homebrew,optikfluffel/homebrew,afh/homebrew,davydden/linuxbrew,totalvoidness/homebrew,dutchcoders/homebrew,tutumcloud/homebrew,LinusU/homebrew,dgageot/homebrew,teslamint/homebrew,ralic/homebrew,apjanke/homebrew,SuperNEMO-DBD/cadfaelbrew,haihappen/homebrew,michaKFromParis/homebrew-sparks,treyharris/homebrew,drewwells/homebrew,dongcarl/homebrew,davydden/linuxbrew,nelstrom/homebrew,getgauge/homebrew,utzig/homebrew,pcottle/homebrew,iandennismiller/homebrew,sometimesfood/homebrew,hanxue/homebrew,DoomHammer/linuxbrew,influxdata/homebrew,ryanfb/homebrew,apjanke/homebrew,dunn/homebrew,princeofdarkness76/homebrew,kevinastone/homebrew,zchee/homebrew,jab/homebrew,3van/homebrew,ralic/homebrew,theeternalsw0rd/homebrew,mkrapp/homebrew,kenips/homebrew,ExtremeMan/homebrew,pdxdan/homebrew,mobileoverlord/homebrew-1,ryanfb/homebrew,sjackman/linuxbrew,Homebrew/linuxbrew,hakamadare/homebrew,jab/homebrew,thinker0/homebrew,sometimesfood/homebrew,frodeaa/homebrew,gicmo/homebrew,ablyler/homebrew,LinusU/homebrew,yumitsu/homebrew,LinusU/homebrew,blogabe/homebrew,liamstask/homebrew,feelpp/homebrew,tschoonj/homebrew,zhipeng-jia/homebrew,hongkongkiwi/homebrew,influxdb/homebrew,ear/homebrew,hakamadare/homebrew,treyharris/homebrew,booi/homebrew,sjackman/linuxbrew,mmizutani/homebrew,frodeaa/homebrew,mmizutani/homebrew,filcab/homebrew,gawbul/homebrew,miketheman/homebrew,scorphus/homebrew,zchee/homebrew,benjaminfrank/homebrew,bukzor/linuxbrew,eighthave/homebrew,ear/homebrew,dunn/homebrew,bukzor/linuxbrew,apjanke/homebrew,dericed/homebrew,DoomHammer/linuxbrew,josa42/homebrew,dplarson/homebrew,alebcay/homebrew,jarrettmeyer/homebrew,nandub/homebrew,adamliter/homebrew,sometimesfood/homebrew,youtux/homebrew,tschoonj/homebrew,ybott/homebrew,marcwebbie/homebrew,jconley/homebrew,Homebrew/homebrew,haihappen/homebrew,retrography/homebrew,reelsense/homebrew,ear/homebrew,kodabb/homebrew,haihappen/homebrew,menivaitsi/homebrew,ExtremeMan/homebrew,getgauge/homebrew,yazuuchi/homebrew,ilovezfs/homebrew,quantumsteve/homebrew,utzig/homebrew,vigo/homebrew,chadcatlett/homebrew,theeternalsw0rd/homebrew,saketkc/linuxbrew