mirror of
https://github.com/aria2/aria2.git
synced 2025-01-01 07:36:24 +00:00
Increased shreshold of command-line option suggestion
This commit is contained in:
parent
295a62f538
commit
0b4dec0250
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user