[driver] Adjusted the implementation of Driver::getOutputMode() so that it uses Option::matches() instead of a series of ArgList::getLastArg() calls.
[driver] Adjusted the implementation of Driver::getOutputMode() so that it uses Option::matches() instead of a series of ArgList::getLastArg() calls.

Also added support for indicating that -i and -repl produce no output.

Swift SVN r11323

kstaring/swift,xedin/swift,dreamsxin/swift,codestergit/swift,natecook1000/swift,xwu/swift,dduan/swift,uasys/swift,huonw/swift,gmilos/swift,jtbandes/swift,natecook1000/swift,alblue/swift,frootloops/swift,tkremenek/swift,karwa/swift,zisko/swift,kusl/swift,Jnosh/swift,brentdax/swift,bitjammer/swift,roambotics/swift,JaSpa/swift,JaSpa/swift,emilstahl/swift,adrfer/swift,huonw/swift,airspeedswift/swift,Jnosh/swift,felix91gr/swift,modocache/swift,tkremenek/swift,huonw/swift,tkremenek/swift,CodaFi/swift,djwbrown/swift,OscarSwanros/swift,danielmartin/swift,KrishMunot/swift,benlangmuir/swift,frootloops/swift,ben-ng/swift,practicalswift/swift,tinysun212/swift-windows,MukeshKumarS/Swift,slavapestov/swift,gmilos/swift,benlangmuir/swift,parkera/swift,therealbnut/swift,stephentyrone/swift,austinzheng/swift,practicalswift/swift,arvedviehweger/swift,gottesmm/swift,brentdax/swift,atrick/swift,tardieu/swift,jopamer/swift,atrick/swift,brentdax/swift,aschwaighofer/swift,frootloops/swift,ken0nek/swift,frootloops/swift,codestergit/swift,shajrawi/swift,austinzheng/swift,kperryua/swift,kstaring/swift,ben-ng/swift,kperryua/swift,tardieu/swift,milseman/swift,amraboelela/swift,airspeedswift/swift,sschiau/swift,adrfer/swift,Ivacker/swift,danielmartin/swift,swiftix/swift.old,uasys/swift,sschiau/swift,natecook1000/swift,harlanhaskins/swift,shahmishal/swift,natecook1000/swift,kstaring/swift,devincoughlin/swift,kusl/swift,jckarter/swift,calebd/swift,brentdax/swift,gmilos/swift,khizkhiz/swift,JaSpa/swift,deyton/swift,codestergit/swift,airspeedswift/swift,sschiau/swift,tardieu/swift,milseman/swift,shahmishal/swift,parkera/swift,khizkhiz/swift,calebd/swift,ken0nek/swift,shahmishal/swift,johnno1962d/swift,tinysun212/swift-windows,deyton/swift,austinzheng/swift,Jnosh/swift,austinzheng/swift,alblue/swift,apple/swift,therealbnut/swift,MukeshKumarS/Swift,bitjammer/swift,devincoughlin/swift,kperryua/swift,cbrentharris/swift,russbishop/swift,stephentyrone/swift,gottesmm/swift,calebd/swift,parkera/swift,manavgabhawala/swift,stephentyrone/swift,ken0nek/swift,MukeshKumarS/Swift,codestergit/swift,return/swift,felix91gr/swift,airspeedswift/swift,slavapestov/swift,SwiftAndroid/swift,apple/swift,JGiola/swift,arvedviehweger/swift,hooman/swift,lorentey/swift,codestergit/swift,emilstahl/swift,JaSpa/swift,sdulal/swift,gregomni/swift,ben-ng/swift,jtbandes/swift,austinzheng/swift,practicalswift/swift,amraboelela/swift,russbishop/swift,kperryua/swift,felix91gr/swift,cbrentharris/swift,ahoppen/swift,calebd/swift,nathawes/swift,CodaFi/swift,brentdax/swift,huonw/swift,adrfer/swift,therealbnut/swift,karwa/swift,gottesmm/swift,dduan/swift,karwa/swift,apple/swift,kstaring/swift,Ivacker/swift,SwiftAndroid/swift,cbrentharris/swift,tjw/swift,jopamer/swift,lorentey/swift,deyton/swift,deyton/swift,swiftix/swift,bitjammer/swift,mightydeveloper/swift,mightydeveloper/swift,gregomni/swift,return/swift,KrishMunot/swift,gregomni/swift,rudkx/swift,karwa/swift,modocache/swift,gottesmm/swift,gregomni/swift,johnno1962d/swift,kusl/swift,xedin/swift,modocache/swift,emilstahl/swift,danielmartin/swift,nathawes/swift,OscarSwanros/swift,danielmartin/swift,jmgc/swift,swiftix/swift.old,hughbe/swift,calebd/swift,airspeedswift/swift,karwa/swift,Jnosh/swift,therealbnut/swift,kentya6/swift,harlanhaskins/swift,allevato/swift,ken0nek/swift,OscarSwanros/swift,codestergit/swift,jtbandes/swift,ken0nek/swift,khizkhiz/swift,glessard/swift,SwiftAndroid/swift,mightydeveloper/swift,calebd/swift,xedin/swift,Ivacker/swift,xedin/swift,jtbandes/swift,shajrawi/swift,SwiftAndroid/swift,roambotics/swift,bitjammer/swift,JGiola/swift,practicalswift/swift,benlangmuir/swift,OscarSwanros/swift,khizkhiz/swift,CodaFi/swift,manavgabhawala/swift,kentya6/swift,lorentey/swift,shajrawi/swift,tjw/swift,tkremenek/swift,Ivacker/swift,lorentey/swift,KrishMunot/swift,zisko/swift,kusl/swift,khizkhiz/swift,hooman/swift,uasys/swift,JGiola/swift,kusl/swift,codestergit/swift,jtbandes/swift,amraboelela/swift,JGiola/swift,JaSpa/swift,mightydeveloper/swift,allevato/swift,harlanhaskins/swift,jmgc/swift,LeoShimonaka/swift,allevato/swift,gottesmm/swift,mightydeveloper/swift,djwbrown/swift,hughbe/swift,slavapestov/swift,KrishMunot/swift,allevato/swift,nathawes/swift,natecook1000/swift,zisko/swift,kusl/swift,ben-ng/swift,gmilos/swift,dduan/swift,danielmartin/swift,russbishop/swift,LeoShimonaka/swift,brentdax/swift,xwu/swift,slavapestov/swift,austinzheng/swift,khizkhiz/swift,johnno1962d/swift,uasys/swift,practicalswift/swift,aschwaighofer/swift,Jnosh/swift,hooman/swift,sdulal/swift,alblue/swift,manavgabhawala/swift,milseman/swift,hughbe/swift,amraboelela/swift,djwbrown/swift,tardieu/swift,swiftix/swift.old,hooman/swift,zisko/swift,return/swift,stephentyrone/swift,atrick/swift,uasys/swift,amraboelela/swift,alblue/swift,IngmarStein/swift,CodaFi/swift,glessard/swift,SwiftAndroid/swift,atrick/swift,devincoughlin/swift,roambotics/swift,adrfer/swift,parkera/swift,tinysun212/swift-windows,jckarter/swift,shahmishal/swift,roambotics/swift,atrick/swift,xedin/swift,xwu/swift,rudkx/swift,deyton/swift,swiftix/swift.old,LeoShimonaka/swift,tkremenek/swift,ken0nek/swift,harlanhaskins/swift,natecook1000/swift,kentya6/swift,shahmishal/swift,felix91gr/swift,kperryua/swift,dduan/swift,modocache/swift,tjw/swift,practicalswift/swift,xwu/swift,russbishop/swift,swiftix/swift,danielmartin/swift,MukeshKumarS/Swift,IngmarStein/swift,kentya6/swift,jckarter/swift,sschiau/swift,huonw/swift,harlanhaskins/swift,jmgc/swift,LeoShimonaka/swift,hooman/swift,harlanhaskins/swift,aschwaighofer/swift,dreamsxin/swift,cbrentharris/swift,cbrentharris/swift,apple/swift,djwbrown/swift,IngmarStein/swift,Ivacker/swift,swiftix/swift.old,xedin/swift,Ivacker/swift,allevato/swift,deyton/swift,nathawes/swift,aschwaighofer/swift,shajrawi/swift,gribozavr/swift,jtbandes/swift,tjw/swift,hughbe/swift,shajrawi/swift,parkera/swift,swiftix/swift.old,ahoppen/swift,kentya6/swift,ben-ng/swift,ahoppen/swift,deyton/swift,shajrawi/swift,emilstahl/swift,sschiau/swift,tinysun212/swift-windows,slavapestov/swift,gottesmm/swift,roambotics/swift,manavgabhawala/swift,LeoShimonaka/swift,mightydeveloper/swift,jopamer/swift,Ivacker/swift,IngmarStein/swift,djwbrown/swift,sdulal/swift,CodaFi/swift,return/swift,brentdax/swift,swiftix/swift,glessard/swift,mightydeveloper/swift,gmilos/swift,adrfer/swift,uasys/swift,tkremenek/swift,jckarter/swift,shahmishal/swift,devincoughlin/swift,hughbe/swift,IngmarStein/swift,jckarter/swift,JGiola/swift,ben-ng/swift,gmilos/swift,tinysun212/swift-windows,ben-ng/swift,russbishop/swift,slavapestov/swift,aschwaighofer/swift,benlangmuir/swift,shajrawi/swift,xedin/swift,swiftix/swift,emilstahl/swift,milseman/swift,gribozavr/swift,gribozavr/swift,slavapestov/swift,zisko/swift,kusl/swift,glessard/swift,jmgc/swift,swiftix/swift.old,mightydeveloper/swift,Ivacker/swift,nathawes/swift,djwbrown/swift,therealbnut/swift,apple/swift,OscarSwanros/swift,bitjammer/swift,stephentyrone/swift,jopamer/swift,karwa/swift,rudkx/swift,hughbe/swift,gmilos/swift,gribozavr/swift,tjw/swift,JaSpa/swift,sdulal/swift,adrfer/swift,alblue/swift,manavgabhawala/swift,djwbrown/swift,kperryua/swift,MukeshKumarS/Swift,bitjammer/swift,therealbnut/swift,devincoughlin/swift,devincoughlin/swift,karwa/swift,devincoughlin/swift,tardieu/swift,rudkx/swift,return/swift,KrishMunot/swift,benlangmuir/swift,CodaFi/swift,milseman/swift,shahmishal/swift,modocache/swift,sdulal/swift,sschiau/swift,Jnosh/swift,gregomni/swift,milseman/swift,calebd/swift,rudkx/swift,hooman/swift,lorentey/swift,kstaring/swift,LeoShimonaka/swift,gregomni/swift,lorentey/swift,airspeedswift/swift,cbrentharris/swift,gribozavr/swift,kusl/swift,JGiola/swift,bitjammer/swift,Jnosh/swift,shajrawi/swift,KrishMunot/swift,return/swift,xwu/swift,jmgc/swift,johnno1962d/swift,dduan/swift,xedin/swift,parkera/swift,IngmarStein/swift,danielmartin/swift,kstaring/swift,frootloops/swift,JaSpa/swift,adrfer/swift,devincoughlin/swift,huonw/swift,emilstahl/swift,KrishMunot/swift,jopamer/swift,return/swift,gribozavr/swift,manavgabhawala/swift,russbishop/swift,swiftix/swift,swiftix/swift,sdulal/swift,arvedviehweger/swift,MukeshKumarS/Swift,felix91gr/swift,hughbe/swift,nathawes/swift,arvedviehweger/swift,arvedviehweger/swift,dduan/swift,sschiau/swift,jopamer/swift,LeoShimonaka/swift,apple/swift,LeoShimonaka/swift,IngmarStein/swift,milseman/swift,CodaFi/swift,nathawes/swift,uasys/swift,austinzheng/swift,stephentyrone/swift,karwa/swift,kperryua/swift,xwu/swift,tkremenek/swift,ahoppen/swift,johnno1962d/swift,jckarter/swift,parkera/swift,glessard/swift,natecook1000/swift,MukeshKumarS/Swift,zisko/swift,SwiftAndroid/swift,amraboelela/swift,johnno1962d/swift,SwiftAndroid/swift,allevato/swift,aschwaighofer/swift,jmgc/swift,gottesmm/swift,rudkx/swift,khizkhiz/swift,kentya6/swift,lorentey/swift,zisko/swift,frootloops/swift,russbishop/swift,gribozavr/swift,xwu/swift,amraboelela/swift,tinysun212/swift-windows,cbrentharris/swift,benlangmuir/swift,dduan/swift,shahmishal/swift,frootloops/swift,gribozavr/swift,emilstahl/swift,kentya6/swift,parkera/swift,tjw/swift,jtbandes/swift,sschiau/swift,practicalswift/swift,hooman/swift,sdulal/swift,alblue/swift,ahoppen/swift,jopamer/swift,aschwaighofer/swift,glessard/swift,OscarSwanros/swift,tardieu/swift,atrick/swift,ken0nek/swift,modocache/swift,practicalswift/swift,harlanhaskins/swift,felix91gr/swift,jmgc/swift,swiftix/swift.old,allevato/swift,swiftix/swift,emilstahl/swift,felix91gr/swift,alblue/swift,kstaring/swift,kentya6/swift,arvedviehweger/swift,airspeedswift/swift,ahoppen/swift,manavgabhawala/swift,arvedviehweger/swift,sdulal/swift,tardieu/swift,johnno1962d/swift,tinysun212/swift-windows,roambotics/swift,stephentyrone/swift,jckarter/swift,lorentey/swift,OscarSwanros/swift,modocache/swift,huonw/swift,tjw/swift,cbrentharris/swift,therealbnut/swift