init: Propagated database and log to CmdTags

This commit is contained in:
Paul Beckingham 2016-03-22 21:40:08 -04:00
parent eb29705930
commit 5710800d0f
3 changed files with 4 additions and 3 deletions

View file

@ -25,10 +25,11 @@
////////////////////////////////////////////////////////////////////////////////
#include <cmake.h>
#include <commands.h>
#include <iostream>
////////////////////////////////////////////////////////////////////////////////
int CmdTags ()
int CmdTags (Database& database, Log& log)
{
std::cout << "[tags: enumerate tags in use]\n";

View file

@ -50,7 +50,7 @@ int CmdImport (
int CmdReport ( );
int CmdStart (const std::vector <std::string>&, Database&, Log&);
int CmdStop ( Database&, Log&);
int CmdTags ( );
int CmdTags ( Database&, Log&);
int CmdTrack ( );
int CmdUndo ( );