mirror of
https://github.com/aria2/aria2.git
synced 2025-01-04 00:53:19 +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());
|
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");
|
||||||
|
Loading…
Reference in New Issue
Block a user