Переглянути джерело

Increased shreshold of command-line option suggestion

Tatsuhiro Tsujikawa 13 роки тому
батько
коміт
0b4dec0250
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      src/option_processing.cc

+ 2 - 2
src/option_processing.cc

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