Limit help option regex
Limit help option regex

Added word-boundary delimiters so that embedded text such as "-h" within command line options and values doesn't trigger the usage script and exit.

Author: Chris Biow <chris.biow@10gen.com>

Closes #5816 from cbiow/patch-1 and squashes the following commits:

36b3726 [Chris Biow] Limit help option regex

haowu80s/spark,zuotingbing/spark,zuotingbing/spark,wzhfy/spark,someorz/spark,MLnick/spark,rednaxelafx/apache-spark,haowu80s/spark,debugger87/spark,taroplus/spark,map222/spark,joseph-torres/spark,ueshin/apache-spark,ioana-delaney/spark,michalsenkyr/spark,spark-test/spark,saturday-shi/spark,bdrillard/spark,minixalpha/spark,andrewor14/spark,mike0sv/spark,spark-test/spark,kiszk/spark,ron8hu/spark,ddna1021/spark,stanzhai/spark,zhouyejoe/spark,markhamstra/spark,shaneknapp/spark,big-pegasus/spark,map222/spark,hhbyyh/spark,xflin/spark,aosagie/spark,witgo/spark,apache-spark-on-k8s/spark,minixalpha/spark,mahak/spark,jlopezmalla/spark,caneGuy/spark,aray/spark,zuotingbing/spark,skonto/spark,LantaoJin/spark,kissmetrics/spark,milliman/spark,srowen/spark,hvanhovell/spark,jrshust/spark,rezasafi/spark,maropu/spark,ron8hu/spark,ConeyLiu/spark,bOOm-X/spark,wangyum/spark,nlalevee/spark,jrshust/spark,bravo-zhang/spark,mahak/spark,techaddict/spark,dbtsai/spark,1haodian/spark,caneGuy/spark,brad-kaiser/spark,esi-mineset/spark,kevinyu98/spark,kimoonkim/spark,shuangshuangwang/spark,alunarbeach/spark,Aegeaner/spark,kimoonkim/spark,zhouyejoe/spark,ahnqirage/spark,poffuomo/spark,guoxiaolongzte/spark,WeichenXu123/spark,ueshin/apache-spark,mdespriee/spark,dongjoon-hyun/spark,rikima/spark,patrick-nicholson/spark,nilsgrabbert/spark,saturday-shi/spark,witgo/spark,jiangxb1987/spark,chuckchen/spark,szhem/spark,metamx/spark,icexelloss/spark,jrshust/spark,lxsmnv/spark,xflin/spark,dongjoon-hyun/spark,dongjoon-hyun/spark,dbtsai/spark,zero323/spark,highfei2011/spark,jianran/spark,shaneknapp/spark,sahilTakiar/spark,cloud-fan/spark,ConeyLiu/spark,map222/spark,nchammas/spark,shaneknapp/spark,nchammas/spark,bOOm-X/spark,shubhamchopra/spark,andrewor14/iolap,ibm-research-ireland/sparkoscope,metamx/spark,kiszk/spark,mzl9039/spark,rekhajoshm/spark,ericvandenbergfb/spark,wangyum/spark,mzl9039/spark,szhem/spark,rekhajoshm/spark,cin/spark,rednaxelafx/apache-spark,kevinyu98/spark,wangmiao1981/spark,pronix/spark,mahak/spark,taroplus/spark,wangyum/spark,lxsmnv/spark,MLnick/spark,adrian-ionescu/apache-spark,lvdongr/spark,1haodian/spark,ioana-delaney/spark,Panos-Bletsos/spark-cost-model-optimizer,gengliangwang/spark,JerryLead/spark,jianran/spark,alunarbeach/spark,vinodkc/spark,taroplus/spark,BryanCutler/spark,witgo/spark,jrshust/spark,chuckchen/spark,HyukjinKwon/spark,andrewor14/iolap,highfei2011/spark,sachintyagi22/spark,Panos-Bletsos/spark-cost-model-optimizer,rekhajoshm/spark,actuaryzhang/spark,kevinyu98/spark,ddna1021/spark,huang1900/spark,haowu80s/spark,icexelloss/spark,tengpeng/spark,liutang123/spark,pronix/spark,sureshthalamati/spark,darionyaphet/spark,wangyum/spark,alunarbeach/spark,ahnqirage/spark,HyukjinKwon/spark,yanboliang/spark,aokolnychyi/spark,janewangfb/spark,bravo-zhang/spark,minixalpha/spark,akopich/spark,publicRoman/spark,SnappyDataInc/spark,JerryLead/spark,ajaysaini725/spark,metamx/spark,WeichenXu123/spark,joseph-torres/spark,cloud-fan/spark,mzl9039/spark,lvdongr/spark,jianran/spark,loneknightpy/spark,ron8hu/spark,tejasapatil/spark,poffuomo/spark,sahilTakiar/spark,goldmedal/spark,lxsmnv/spark,stanzhai/spark,joseph-torres/spark,WeichenXu123/spark,wangmiao1981/spark,dhruve/spark,patrick-nicholson/spark,mdespriee/spark,zuotingbing/spark,andrewor14/spark,shuangshuangwang/spark,jlopezmalla/spark,kiszk/spark,kissmetrics/spark,bdrillard/spark,kimoonkim/spark,zzcclp/spark,nlalevee/spark,xflin/spark,Panos-Bletsos/spark-cost-model-optimizer,SHASHANKB/spark,ibm-research-ireland/sparkoscope,mdespriee/spark,JoshRosen/spark,aosagie/spark,Aegeaner/spark,caneGuy/spark,tejasapatil/spark,cin/spark,xuanyuanking/spark,icexelloss/spark,UndeadBaneGitHub/spark,rikima/spark,chuckchen/spark,facaiy/spark,huang1900/spark,milliman/spark,milliman/spark,spark-test/spark,setjet/spark,ajaysaini725/spark,mike0sv/spark,HyukjinKwon/spark,yanboliang/spark,MLnick/spark,eyalfa/spark,hvanhovell/spark,WindCanDie/spark,cin/spark,panfengfeng/spark,narahari92/spark,ptkool/spark,ueshin/apache-spark,shuangshuangwang/spark,narahari92/spark,cin/spark,rednaxelafx/apache-spark,UndeadBaneGitHub/spark,gioenn/xSpark,BryanCutler/spark,ibm-research-ireland/sparkoscope,andrewor14/spark,highfei2011/spark,shubhamchopra/spark,big-pegasus/spark,darionyaphet/spark,kimoonkim/spark,1haodian/spark,techaddict/spark,jrshust/spark,zzcclp/spark,Aegeaner/spark,narahari92/spark,HyukjinKwon/spark,mahak/spark,ioana-delaney/spark,witgo/spark,milliman/spark,dongjoon-hyun/spark,andrewor14/iolap,andrewor14/iolap,LantaoJin/spark,nlalevee/spark,patrick-nicholson/spark,bdrillard/spark,aokolnychyi/spark,spark-test/spark,lvdongr/spark,xuanyuanking/spark,HyukjinKwon/spark,pgandhi999/spark,MLnick/spark,darionyaphet/spark,shubhamchopra/spark,saltstar/spark,ddna1021/spark,guoxiaolongzte/spark,esi-mineset/spark,someorz/spark,ahnqirage/spark,zero323/spark,dongjoon-hyun/spark,ueshin/apache-spark,sachintyagi22/spark,ibm-research-ireland/sparkoscope,jiangxb1987/spark,brad-kaiser/spark,yanboliang/spark,ericvandenbergfb/spark,ueshin/apache-spark,mzl9039/spark,JerryLead/spark,caneGuy/spark,ahnqirage/spark,big-pegasus/spark,panfengfeng/spark,BryanCutler/spark,andrewor14/spark,ajaysaini725/spark,matthewfranglen/spark,srowen/spark,hvanhovell/spark,lxsmnv/spark,eyalfa/spark,rekhajoshm/spark,szhem/spark,jkbradley/spark,aosagie/spark,rednaxelafx/apache-spark,saturday-shi/spark,stanzhai/spark,janewangfb/spark,liutang123/spark,kiszk/spark,actuaryzhang/spark,ericvandenbergfb/spark,chuckchen/spark,saltstar/spark,ptkool/spark,someorz/spark,holdenk/spark,skonto/spark,saltstar/spark,cloud-fan/spark,saturday-shi/spark,liutang123/spark,ueshin/apache-spark,brad-kaiser/spark,mike0sv/spark,debugger87/spark,skonto/spark,setjet/spark,mike0sv/spark,ron8hu/spark,SHASHANKB/spark,stanzhai/spark,poffuomo/spark,actuaryzhang/spark,holdenk/spark,rezasafi/spark,ron8hu/spark,byakuinss/spark,apache-spark-on-k8s/spark,facaiy/spark,alunarbeach/spark,mike0sv/spark,wangmiao1981/spark,lvdongr/spark,facaiy/spark,zhouyejoe/spark,wzhfy/spark,chuckchen/spark,ericvandenbergfb/spark,sahilTakiar/spark,icexelloss/spark,witgo/spark,yanboliang/spark,SnappyDataInc/spark,bravo-zhang/spark,publicRoman/spark,gioenn/xSpark,xflin/spark,kiszk/spark,andrewor14/spark,highfei2011/spark,esi-mineset/spark,zhouyejoe/spark,wzhfy/spark,publicRoman/spark,ptkool/spark,akopich/spark,cloud-fan/spark,ptkool/spark,zero323/spark,jlopezmalla/spark,liyichao/spark,maropu/spark,gengliangwang/spark,ron8hu/spark,pronix/spark,saltstar/spark,tengpeng/spark,rekhajoshm/spark,bdrillard/spark,wangyum/spark,jianran/spark,kissmetrics/spark,janewangfb/spark,brad-kaiser/spark,JerryLead/spark,map222/spark,bdrillard/spark,shubhamchopra/spark,icexelloss/spark,ioana-delaney/spark,setjet/spark,sureshthalamati/spark,debugger87/spark,nchammas/spark,sureshthalamati/spark,metamx/spark,aokolnychyi/spark,guoxiaolongzte/spark,nchammas/spark,maropu/spark,techaddict/spark,skonto/spark,WeichenXu123/spark,WindCanDie/spark,nilsgrabbert/spark,haowu80s/spark,SHASHANKB/spark,techaddict/spark,aray/spark,shaneknapp/spark,vinodkc/spark,nilsgrabbert/spark,pgandhi999/spark,liyichao/spark,kiszk/spark,publicRoman/spark,tengpeng/spark,facaiy/spark,actuaryzhang/spark,taroplus/spark,jrshust/spark,markhamstra/spark,zzcclp/spark,panfengfeng/spark,zuotingbing/spark,spark-test/spark,ajaysaini725/spark,jkbradley/spark,jiangxb1987/spark,aray/spark,nilsgrabbert/spark,SnappyDataInc/spark,loneknightpy/spark,xuanyuanking/spark,panfengfeng/spark,bravo-zhang/spark,liutang123/spark,akopich/spark,caneGuy/spark,joseph-torres/spark,WindCanDie/spark,nlalevee/spark,WeichenXu123/spark,MLnick/spark,sahilTakiar/spark,UndeadBaneGitHub/spark,eyalfa/spark,joseph-torres/spark,andrewor14/iolap,jianran/spark,aokolnychyi/spark,narahari92/spark,michalsenkyr/spark,adrian-ionescu/apache-spark,ConeyLiu/spark,vinodkc/spark,SHASHANKB/spark,rekhajoshm/spark,brad-kaiser/spark,zzcclp/spark,adrian-ionescu/apache-spark,rikima/spark,publicRoman/spark,MLnick/spark,rezasafi/spark,shubhamchopra/spark,liutang123/spark,WindCanDie/spark,ajaysaini725/spark,apache/spark,actuaryzhang/spark,mike0sv/spark,cin/spark,ptkool/spark,icexelloss/spark,JerryLead/spark,debugger87/spark,apache-spark-on-k8s/spark,loneknightpy/spark,someorz/spark,tengpeng/spark,aray/spark,sureshthalamati/spark,eyalfa/spark,bOOm-X/spark,holdenk/spark,maropu/spark,minixalpha/spark,aokolnychyi/spark,zhouyejoe/spark,loneknightpy/spark,shuangshuangwang/spark,wzhfy/spark,skonto/spark,joseph-torres/spark,wangmiao1981/spark,bOOm-X/spark,LantaoJin/spark,loneknightpy/spark,hhbyyh/spark,eyalfa/spark,kevinyu98/spark,JerryLead/spark,highfei2011/spark,pgandhi999/spark,saturday-shi/spark,poffuomo/spark,skonto/spark,ptkool/spark,setjet/spark,techaddict/spark,saltstar/spark,byakuinss/spark,zero323/spark,apache/spark,zzcclp/spark,xuanyuanking/spark,actuaryzhang/spark,jkbradley/spark,dongjoon-hyun/spark,liutang123/spark,huang1900/spark,JerryLead/spark,dhruve/spark,gioenn/xSpark,UndeadBaneGitHub/spark,big-pegasus/spark,ibm-research-ireland/sparkoscope,bdrillard/spark,bdrillard/spark,SnappyDataInc/spark,rezasafi/spark,andrewor14/spark,liutang123/spark,mdespriee/spark,zzcclp/spark,panfengfeng/spark,michalsenkyr/spark,eyalfa/spark,wangmiao1981/spark,mdespriee/spark,SnappyDataInc/spark,janewangfb/spark,yanboliang/spark,janewangfb/spark,nilsgrabbert/spark,ron8hu/spark,vinodkc/spark,shaneknapp/spark,andrewor14/spark,cin/spark,apache-spark-on-k8s/spark,facaiy/spark,bOOm-X/spark,cloud-fan/spark,facaiy/spark,apache/spark,mzl9039/spark,yanboliang/spark,rezasafi/spark,nchammas/spark,szhem/spark,kiszk/spark,WindCanDie/spark,Aegeaner/spark,hhbyyh/spark,haowu80s/spark,debugger87/spark,HyukjinKwon/spark,highfei2011/spark,pgandhi999/spark,wzhfy/spark,pgandhi999/spark,jrshust/spark,highfei2011/spark,Aegeaner/spark,kevinyu98/spark,jianran/spark,darionyaphet/spark,yanboliang/spark,lxsmnv/spark,adrian-ionescu/apache-spark,SHASHANKB/spark,vinodkc/spark,mahak/spark,ibm-research-ireland/sparkoscope,joseph-torres/spark,setjet/spark,kissmetrics/spark,goldmedal/spark,huang1900/spark,szhem/spark,dhruve/spark,darionyaphet/spark,lxsmnv/spark,spark-test/spark,mzl9039/spark,holdenk/spark,sachintyagi22/spark,wzhfy/spark,techaddict/spark,zuotingbing/spark,wangmiao1981/spark,tejasapatil/spark,JoshRosen/spark,UndeadBaneGitHub/spark,aray/spark,metamx/spark,goldmedal/spark,cloud-fan/spark,byakuinss/spark,jlopezmalla/spark,tengpeng/spark,rednaxelafx/apache-spark,shubhamchopra/spark,dbtsai/spark,gengliangwang/spark,jianran/spark,debugger87/spark,darionyaphet/spark,ajaysaini725/spark,markhamstra/spark,pronix/spark,saturday-shi/spark,JoshRosen/spark,ahnqirage/spark,narahari92/spark,apache/spark,haowu80s/spark,aosagie/spark,gengliangwang/spark,liyichao/spark,lxsmnv/spark,liyichao/spark,icexelloss/spark,maropu/spark,gengliangwang/spark,brad-kaiser/spark,witgo/spark,ahnqirage/spark,loneknightpy/spark,sahilTakiar/spark,liyichao/spark,zzcclp/spark,markhamstra/spark,SHASHANKB/spark,rekhajoshm/spark,lvdongr/spark,caneGuy/spark,dbtsai/spark,wangyum/spark,setjet/spark,apache-spark-on-k8s/spark,someorz/spark,skonto/spark,alunarbeach/spark,poffuomo/spark,kimoonkim/spark,tejasapatil/spark,Panos-Bletsos/spark-cost-model-optimizer,ioana-delaney/spark,jkbradley/spark,ibm-research-ireland/sparkoscope,1haodian/spark,big-pegasus/spark,eyalfa/spark,markhamstra/spark,byakuinss/spark,aokolnychyi/spark,poffuomo/spark,LantaoJin/spark,tengpeng/spark,patrick-nicholson/spark,huang1900/spark,ericvandenbergfb/spark,mahak/spark,MLnick/spark,zuotingbing/spark,goldmedal/spark,mdespriee/spark,apache-spark-on-k8s/spark,jlopezmalla/spark,adrian-ionescu/apache-spark,gioenn/xSpark,milliman/spark,guoxiaolongzte/spark,wangmiao1981/spark,tejasapatil/spark,aokolnychyi/spark,WindCanDie/spark,UndeadBaneGitHub/spark,nlalevee/spark,BryanCutler/spark,byakuinss/spark,gengliangwang/spark,mike0sv/spark,michalsenkyr/spark,esi-mineset/spark,andrewor14/iolap,sureshthalamati/spark,hhbyyh/spark,minixalpha/spark,HyukjinKwon/spark,pgandhi999/spark,pgandhi999/spark,sureshthalamati/spark,bravo-zhang/spark,jlopezmalla/spark,ddna1021/spark,sachintyagi22/spark,kissmetrics/spark,rikima/spark,zhouyejoe/spark,shuangshuangwang/spark,LantaoJin/spark,kevinyu98/spark,holdenk/spark,chuckchen/spark,rednaxelafx/apache-spark,wangyum/spark,alunarbeach/spark,lvdongr/spark,hhbyyh/spark,jiangxb1987/spark,actuaryzhang/spark,ioana-delaney/spark,JoshRosen/spark,SHASHANKB/spark,rezasafi/spark,taroplus/spark,ioana-delaney/spark,huang1900/spark,cloud-fan/spark,jiangxb1987/spark,WeichenXu123/spark,gioenn/xSpark,jlopezmalla/spark,big-pegasus/spark,sachintyagi22/spark,apache-spark-on-k8s/spark,saltstar/spark,rezasafi/spark,nchammas/spark,publicRoman/spark,xflin/spark,ericvandenbergfb/spark,SnappyDataInc/spark,patrick-nicholson/spark,rednaxelafx/apache-spark,WindCanDie/spark,xuanyuanking/spark,jkbradley/spark,sachintyagi22/spark,hhbyyh/spark,JoshRosen/spark,liyichao/spark,xuanyuanking/spark,sureshthalamati/spark,ddna1021/spark,map222/spark,LantaoJin/spark,panfengfeng/spark,loneknightpy/spark,caneGuy/spark,bravo-zhang/spark,apache/spark,spark-test/spark,publicRoman/spark,Panos-Bletsos/spark-cost-model-optimizer,sahilTakiar/spark,someorz/spark,zero323/spark,shaneknapp/spark,metamx/spark,xflin/spark,byakuinss/spark,nchammas/spark,Aegeaner/spark,poffuomo/spark,akopich/spark,michalsenkyr/spark,darionyaphet/spark,kissmetrics/spark,rikima/spark,panfengfeng/spark,tejasapatil/spark,tengpeng/spark,apache/spark,byakuinss/spark,jiangxb1987/spark,setjet/spark,maropu/spark,gengliangwang/spark,shuangshuangwang/spark,michalsenkyr/spark,adrian-ionescu/apache-spark,sahilTakiar/spark,aray/spark,esi-mineset/spark,techaddict/spark,wzhfy/spark,akopich/spark,1haodian/spark,markhamstra/spark,patrick-nicholson/spark,hvanhovell/spark,BryanCutler/spark,gioenn/xSpark,andrewor14/iolap,big-pegasus/spark,goldmedal/spark,ajaysaini725/spark,dbtsai/spark,aosagie/spark,akopich/spark,witgo/spark,facaiy/spark,hvanhovell/spark,guoxiaolongzte/spark,zero323/spark,debugger87/spark,jiangxb1987/spark,aray/spark,guoxiaolongzte/spark,maropu/spark,dhruve/spark,ueshin/apache-spark,kimoonkim/spark,stanzhai/spark,dbtsai/spark,stanzhai/spark,Panos-Bletsos/spark-cost-model-optimizer,cin/spark,Aegeaner/spark,vinodkc/spark,BryanCutler/spark,jkbradley/spark,narahari92/spark,esi-mineset/spark,goldmedal/spark,aosagie/spark,sachintyagi22/spark,guoxiaolongzte/spark,BryanCutler/spark,patrick-nicholson/spark,dongjoon-hyun/spark,ConeyLiu/spark,srowen/spark,zhouyejoe/spark,akopich/spark,tejasapatil/spark,map222/spark,JoshRosen/spark,nilsgrabbert/spark,goldmedal/spark,taroplus/spark,LantaoJin/spark,zero323/spark,srowen/spark,ptkool/spark,stanzhai/spark,alunarbeach/spark,bravo-zhang/spark,hvanhovell/spark,UndeadBaneGitHub/spark,rikima/spark,bOOm-X/spark,saturday-shi/spark,metamx/spark,ConeyLiu/spark,Panos-Bletsos/spark-cost-model-optimizer,ahnqirage/spark,chuckchen/spark,pronix/spark,taroplus/spark,bOOm-X/spark,srowen/spark,milliman/spark,srowen/spark,nlalevee/spark,liyichao/spark,minixalpha/spark,kevinyu98/spark,esi-mineset/spark,nilsgrabbert/spark,1haodian/spark,ericvandenbergfb/spark,JoshRosen/spark,dbtsai/spark,nlalevee/spark,szhem/spark,huang1900/spark,ConeyLiu/spark,map222/spark,xflin/spark,brad-kaiser/spark,dhruve/spark,ConeyLiu/spark,hvanhovell/spark,mahak/spark,srowen/spark,mzl9039/spark,saltstar/spark,mdespriee/spark,shubhamchopra/spark,aosagie/spark,milliman/spark,WeichenXu123/spark,apache/spark,janewangfb/spark,narahari92/spark,dhruve/spark,rikima/spark,1haodian/spark,shuangshuangwang/spark,kimoonkim/spark,minixalpha/spark,michalsenkyr/spark,janewangfb/spark,xuanyuanking/spark,dhruve/spark,adrian-ionescu/apache-spark,jkbradley/spark,lvdongr/spark,hhbyyh/spark,holdenk/spark,holdenk/spark,SnappyDataInc/spark,markhamstra/spark,vinodkc/spark,kissmetrics/spark,szhem/spark,ddna1021/spark,pronix/spark,ddna1021/spark,gioenn/xSpark,shaneknapp/spark,someorz/spark