CmdDefault: Migrated to intervalSummarize

This commit is contained in:
Paul Beckingham 2016-03-28 22:49:14 -04:00
parent e6a27b1f72
commit 49f7c08457
2 changed files with 4 additions and 1 deletions

View file

@ -26,6 +26,7 @@
#include <cmake.h>
#include <commands.h>
#include <timew.h>
#include <iostream>
////////////////////////////////////////////////////////////////////////////////
@ -39,7 +40,7 @@ int CmdDefault (Rules& rules, Database& database)
auto interval = database.getLatestInterval ();
if (interval.isStarted () && ! interval.isEnded ())
std::cout << "\n"
<< database.getLatestInterval ().summarize ()
<< intervalSummarize (rules, database.getLatestInterval ())
<< "\n";
else
std::cout << "\n"