sst_dump: Fix incorrect cmd args parsing
sst_dump: Fix incorrect cmd args parsing

Summary: The current parsing logic ignores any additional chars after the arg.

Test Plan: "./sst_dump --verify_checksumAAA" now outputs error.

Reviewers: dhruba, sheki, emayanke

Reviewed By: dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D7611

JackLian/rocksdb,OverlordQ/rocksdb,alihalabyah/rocksdb,mbarbon/rocksdb,lgscofield/rocksdb,caijieming-baidu/rocksdb,virtdb/rocksdb,Applied-Duality/rocksdb,Applied-Duality/rocksdb,bbiao/rocksdb,biddyweb/rocksdb,norton/rocksdb,siddhartharay007/rocksdb,ylong/rocksdb,Andymic/rocksdb,mbarbon/rocksdb,flabby/rocksdb,geraldoandradee/rocksdb,IMCG/RcoksDB,lgscofield/rocksdb,ryneli/rocksdb,NickCis/rocksdb,tsheasha/rocksdb,wenduo/rocksdb,temicai/rocksdb,anagav/rocksdb,ylong/rocksdb,flabby/rocksdb,IMCG/RcoksDB,wlqGit/rocksdb,tschottdorf/rocksdb,Andymic/rocksdb,vmx/rocksdb,tsheasha/rocksdb,skunkwerks/rocksdb,norton/rocksdb,temicai/rocksdb,jalexanderqed/rocksdb,mbarbon/rocksdb,wenduo/rocksdb,vashstorm/rocksdb,dkorolev/rocksdb,wenduo/rocksdb,skunkwerks/rocksdb,tschottdorf/rocksdb,Applied-Duality/rocksdb,IMCG/RcoksDB,bbiao/rocksdb,wat-ze-hex/rocksdb,wskplho/rocksdb,JohnPJenkins/rocksdb,amyvmiwei/rocksdb,lgscofield/rocksdb,sorphi/rocksdb,JohnPJenkins/rocksdb,IMCG/RcoksDB,SunguckLee/RocksDB,sorphi/rocksdb,vashstorm/rocksdb,dkorolev/rocksdb,Andymic/rocksdb,JohnPJenkins/rocksdb,vashstorm/rocksdb,hobinyoon/rocksdb,rDSN-Projects/rocksdb.replicated,anagav/rocksdb,wat-ze-hex/rocksdb,caijieming-baidu/rocksdb,Andymic/rocksdb,siddhartharay007/rocksdb,alihalabyah/rocksdb,hobinyoon/rocksdb,lgscofield/rocksdb,wskplho/rocksdb,Andymic/rocksdb,temicai/rocksdb,Vaisman/rocksdb,JoeWoo/rocksdb,skunkwerks/rocksdb,dkorolev/rocksdb,OverlordQ/rocksdb,sorphi/rocksdb,JackLian/rocksdb,alihalabyah/rocksdb,NickCis/rocksdb,wenduo/rocksdb,wat-ze-hex/rocksdb,JackLian/rocksdb,wskplho/rocksdb,fengshao0907/rocksdb,caijieming-baidu/rocksdb,luckywhu/rocksdb,fengshao0907/rocksdb,lgscofield/rocksdb,wat-ze-hex/rocksdb,biddyweb/rocksdb,ylong/rocksdb,mbarbon/rocksdb,IMCG/RcoksDB,wenduo/rocksdb,hobinyoon/rocksdb,vmx/rocksdb,lgscofield/rocksdb,makelivedotnet/rocksdb,Applied-Duality/rocksdb,tschottdorf/rocksdb,JohnPJenkins/rocksdb,SunguckLee/RocksDB,tschottdorf/rocksdb,anagav/rocksdb,makelivedotnet/rocksdb,Applied-Duality/rocksdb,msb-at-yahoo/rocksdb,Vaisman/rocksdb,JohnPJenkins/rocksdb,OverlordQ/rocksdb,bbiao/rocksdb,zhangpng/rocksdb,ryneli/rocksdb,flabby/rocksdb,JackLian/rocksdb,sorphi/rocksdb,norton/rocksdb,caijieming-baidu/rocksdb,Vaisman/rocksdb,JackLian/rocksdb,geraldoandradee/rocksdb,makelivedotnet/rocksdb,geraldoandradee/rocksdb,ylong/rocksdb,RyanTech/rocksdb,tizzybec/rocksdb,msb-at-yahoo/rocksdb,siddhartharay007/rocksdb,bbiao/rocksdb,tizzybec/rocksdb,ylong/rocksdb,msb-at-yahoo/rocksdb,flabby/rocksdb,Vaisman/rocksdb,kaschaeffer/rocksdb,vmx/rocksdb,RyanTech/rocksdb,vashstorm/rocksdb,RyanTech/rocksdb,hobinyoon/rocksdb,bbiao/rocksdb,OverlordQ/rocksdb,NickCis/rocksdb,ryneli/rocksdb,OverlordQ/rocksdb,tsheasha/rocksdb,wenduo/rocksdb,zhangpng/rocksdb,wlqGit/rocksdb,kaschaeffer/rocksdb,vashstorm/rocksdb,makelivedotnet/rocksdb,rDSN-Projects/rocksdb.replicated,tizzybec/rocksdb,temicai/rocksdb,Andymic/rocksdb,caijieming-baidu/rocksdb,fengshao0907/rocksdb,skunkwerks/rocksdb,alihalabyah/rocksdb,vmx/rocksdb,JoeWoo/rocksdb,norton/rocksdb,hobinyoon/rocksdb,JoeWoo/rocksdb,skunkwerks/rocksdb,luckywhu/rocksdb,msb-at-yahoo/rocksdb,RyanTech/rocksdb,luckywhu/rocksdb,Andymic/rocksdb,jalexanderqed/rocksdb,virtdb/rocksdb,siddhartharay007/rocksdb,wlqGit/rocksdb,wlqGit/rocksdb,norton/rocksdb,fengshao0907/rocksdb,luckywhu/rocksdb,anagav/rocksdb,JackLian/rocksdb,geraldoandradee/rocksdb,IMCG/RcoksDB,siddhartharay007/rocksdb,biddyweb/rocksdb,NickCis/rocksdb,vashstorm/rocksdb,tsheasha/rocksdb,geraldoandradee/rocksdb,biddyweb/rocksdb,vmx/rocksdb,amyvmiwei/rocksdb,lgscofield/rocksdb,jalexanderqed/rocksdb,amyvmiwei/rocksdb,amyvmiwei/rocksdb,flabby/rocksdb,virtdb/rocksdb,wlqGit/rocksdb,virtdb/rocksdb,jalexanderqed/rocksdb,JoeWoo/rocksdb,tizzybec/rocksdb,caijieming-baidu/rocksdb,vmx/rocksdb,kaschaeffer/rocksdb,OverlordQ/rocksdb,biddyweb/rocksdb,Applied-Duality/rocksdb,rDSN-Projects/rocksdb.replicated,zhangpng/rocksdb,facebook/rocksdb,SunguckLee/RocksDB,IMCG/RcoksDB,facebook/rocksdb,sorphi/rocksdb,jalexanderqed/rocksdb,skunkwerks/rocksdb,SunguckLee/RocksDB,dkorolev/rocksdb,Vaisman/rocksdb,SunguckLee/RocksDB,flabby/rocksdb,virtdb/rocksdb,ryneli/rocksdb,SunguckLee/RocksDB,norton/rocksdb,biddyweb/rocksdb,wenduo/rocksdb,NickCis/rocksdb,JoeWoo/rocksdb,facebook/rocksdb,vmx/rocksdb,wat-ze-hex/rocksdb,NickCis/rocksdb,ryneli/rocksdb,tizzybec/rocksdb,amyvmiwei/rocksdb,luckywhu/rocksdb,fengshao0907/rocksdb,tizzybec/rocksdb,wat-ze-hex/rocksdb,zhangpng/rocksdb,makelivedotnet/rocksdb,tsheasha/rocksdb,RyanTech/rocksdb,alihalabyah/rocksdb,sorphi/rocksdb,facebook/rocksdb,tschottdorf/rocksdb,vmx/rocksdb,amyvmiwei/rocksdb,alihalabyah/rocksdb,dkorolev/rocksdb,wskplho/rocksdb,zhangpng/rocksdb,dkorolev/rocksdb,JackLian/rocksdb,mbarbon/rocksdb,anagav/rocksdb,dkorolev/rocksdb,makelivedotnet/rocksdb,kaschaeffer/rocksdb,temicai/rocksdb,hobinyoon/rocksdb,temicai/rocksdb,facebook/rocksdb,luckywhu/rocksdb,caijieming-baidu/rocksdb,makelivedotnet/rocksdb,rDSN-Projects/rocksdb.replicated,ylong/rocksdb,wat-ze-hex/rocksdb,skunkwerks/rocksdb,SunguckLee/RocksDB,wlqGit/rocksdb,fengshao0907/rocksdb,luckywhu/rocksdb,wskplho/rocksdb,norton/rocksdb,wlqGit/rocksdb,tschottdorf/rocksdb,ryneli/rocksdb,bbiao/rocksdb,fengshao0907/rocksdb,OverlordQ/rocksdb,RyanTech/rocksdb,kaschaeffer/rocksdb,zhangpng/rocksdb,anagav/rocksdb,Andymic/rocksdb,JohnPJenkins/rocksdb,alihalabyah/rocksdb,facebook/rocksdb,zhangpng/rocksdb,anagav/rocksdb,wskplho/rocksdb,facebook/rocksdb,Vaisman/rocksdb,wenduo/rocksdb,wskplho/rocksdb,JoeWoo/rocksdb,amyvmiwei/rocksdb,tsheasha/rocksdb,mbarbon/rocksdb,virtdb/rocksdb,rDSN-Projects/rocksdb.replicated,jalexanderqed/rocksdb,kaschaeffer/rocksdb,SunguckLee/RocksDB,norton/rocksdb,tsheasha/rocksdb,JoeWoo/rocksdb,geraldoandradee/rocksdb,jalexanderqed/rocksdb,hobinyoon/rocksdb,rDSN-Projects/rocksdb.replicated,RyanTech/rocksdb,Applied-Duality/rocksdb,NickCis/rocksdb,JohnPJenkins/rocksdb,temicai/rocksdb,bbiao/rocksdb,bbiao/rocksdb,wat-ze-hex/rocksdb,geraldoandradee/rocksdb,Vaisman/rocksdb,virtdb/rocksdb,flabby/rocksdb,hobinyoon/rocksdb,msb-at-yahoo/rocksdb,tizzybec/rocksdb,siddhartharay007/rocksdb,vashstorm/rocksdb,facebook/rocksdb,biddyweb/rocksdb,sorphi/rocksdb,rDSN-Projects/rocksdb.replicated,siddhartharay007/rocksdb,tsheasha/rocksdb,ryneli/rocksdb,mbarbon/rocksdb,msb-at-yahoo/rocksdb,ylong/rocksdb,kaschaeffer/rocksdb