Explorar o código

Increased shreshold of command-line option suggestion

Tatsuhiro Tsujikawa %!s(int64=13) %!d(string=hai) anos
pai
achega
0b4dec0250
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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");