Add force flag for cp helper #667

Merged
muellerr merged 5 commits from extend-cp-helper into v4.0.0-dev 2023-06-22 16:45:15 +02:00
Showing only changes of commit 5058b8905d - Show all commits

View File

@ -247,7 +247,7 @@ class CpHelperParser {
}
recursiveOpt = data[0];
forceOpt = data[1];
return parseDestTargetString(data + 1, maxLen - 1, destTgt);
return parseDestTargetString(data + 2, maxLen - 2, destTgt);
}
const SourceTargetPair& destTgtPair() const { return destTgt; }
bool isRecursiveOptSet() const { return recursiveOpt; }