summaryrefslogtreecommitdiff
path: root/src/option_processing.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-09-23 15:06:39 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-09-23 15:06:39 +0900
commit0b4dec02505a0be3dabcd01eab98f015f115bed8 (patch)
treeb25f10c8517c3f31b8fb4e6c0739c92942cde8d7 /src/option_processing.cc
parent295a62f538df8115d932f09e69e2950484e038c0 (diff)
Increased shreshold of command-line option suggestion
Diffstat (limited to 'src/option_processing.cc')
-rw-r--r--src/option_processing.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option_processing.cc b/src/option_processing.cc
index 66be040e..ed2e1102 100644
--- a/src/option_processing.cc
+++ b/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");