Skip to content
Snippets Groups Projects
Commit d0fe42c2 authored by arq5x's avatar arq5x
Browse files

allow merge -d to have negative values for minimum overlap.

parent fccfbfbd
No related branches found
No related tags found
No related merge requests found
......@@ -116,13 +116,12 @@ bool ContextMerge::handle_d() {
if ((_i+1) < _argc) {
if (isNumeric(_argv[_i+1])) {
int dist = str2chrPos(_argv[_i+1]);
if (dist >=0 ) {
_maxDistance = dist;
markUsed(_i - _skipFirstArgs);
_i++;
markUsed(_i - _skipFirstArgs);
return true;
}
_maxDistance = dist;
markUsed(_i - _skipFirstArgs);
_i++;
markUsed(_i - _skipFirstArgs);
return true;
}
}
_errorMsg = "\n***** ERROR: -d option must be followed by an integer value *****";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment