Increased shreshold of command-line option suggestion

This commit is contained in:
Tatsuhiro Tsujikawa 2012-09-23 15:06:39 +09:00
parent 295a62f538
commit 0b4dec0250

View File

@ -160,8 +160,8 @@ void showCandidates
} }
std::sort(cands.begin(), cands.end()); std::sort(cands.begin(), cands.end());
int threshold = cands[0].first; int threshold = cands[0].first;
// threshold value 7 is borrowed from git, help.c. // threshold value 12 is a magic value.
if(threshold >= 7) { if(threshold > 12) {
return; return;
} }
global::cerr()->printf("\n"); global::cerr()->printf("\n");