Cmd*: Added validateInterval calls prior to all interval modification

This commit is contained in:
Paul Beckingham 2016-07-02 13:59:08 -04:00
parent 2e849dcd22
commit ffe326ed48
10 changed files with 14 additions and 0 deletions

View file

@ -44,7 +44,10 @@ int CmdTrack (
auto exclusions = getAllExclusions (rules, filter.range);
for (auto& interval : flatten (filter, exclusions))
{
validateInterval (database, rules, interval);
database.addInterval (interval);
}
if (rules.getBoolean ("verbose"))
std::cout << intervalSummarize (database, rules, filter);