Automatically upgrade '_' to '-' when finding the right command.
Automatically upgrade '_' to '-' when finding the right command.

This doesn't change the automatic command finder, so it really only helps
increase match hit rate in case of low confidence level delta between the 2 top
hits. For example, given commands 'set-commit' and 'dcommit', a user typing
'set_commit' would hit:
- 'set-commit': 90%
- 'dcommit': 70.5%

Since subcommand.py uses a 30% minimum confidence level between the two top hit
to automatically select a command, it will err on the side of safety and will
abort instead of selecting 'set-commit'.

This change fixes this specific case but won't trigger on partial matches, e.g.
'set_commi' for 'set-commit'.

R=stip@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1066923003

git-svn-id: fd409f4bdeea2bb50a5d34bb4d4bfc2046a5a3dd@294700 0039d316-1c4b-4281-b951-d872f2087c98

Midrya/chromium,chinmaygarde/depot_tools,disigma/depot_tools,azureplus/chromium_depot_tools,kaiix/depot_tools,aleonliao/depot_tools,disigma/depot_tools,npe9/depot_tools,hsharsha/depot_tools,cpanelli/-git-clone-https-chromium.googlesource.com-chromium-tools-depot_tools,chinmaygarde/depot_tools,mlufei/depot_tools,fracting/depot_tools,primiano/depot_tools,mlufei/depot_tools,withtone/depot_tools,SuYiling/chrome_depot_tools,ajohnson23/depot_tools,liaorubei/depot_tools,hsharsha/depot_tools,kaiix/depot_tools,mlufei/depot_tools,azunite/chrome_build,withtone/depot_tools,npe9/depot_tools,npe9/depot_tools,duanwujie/depot_tools,azureplus/chromium_depot_tools,ajohnson23/depot_tools,cpanelli/-git-clone-https-chromium.googlesource.com-chromium-tools-depot_tools,azunite/chrome_build,duanwujie/depot_tools,azunite/chrome_build,aleonliao/depot_tools,liaorubei/depot_tools,ajohnson23/depot_tools,aleonliao/depot_tools,SuYiling/chrome_depot_tools,Midrya/chromium,cpanelli/-git-clone-https-chromium.googlesource.com-chromium-tools-depot_tools,gcodetogit/depot_tools,liaorubei/depot_tools,liaorubei/depot_tools,SuYiling/chrome_depot_tools,duongbaoduy/gtools,primiano/depot_tools,hsharsha/depot_tools,disigma/depot_tools,npe9/depot_tools,withtone/depot_tools,azureplus/chromium_depot_tools,duongbaoduy/gtools,duongbaoduy/gtools,fracting/depot_tools,kaiix/depot_tools,CoherentLabs/depot_tools,chinmaygarde/depot_tools,gcodetogit/depot_tools,CoherentLabs/depot_tools,fracting/depot_tools,duanwujie/depot_tools,primiano/depot_tools,Midrya/chromium,gcodetogit/depot_tools