using namespace std;
+/**
+Annouces the action by printing out the package name, tool and target name.
+*/
void Action::announce(const string &pkg, const string &tool, const string &tgt)
{
ostringstream line;
line<<left;
- line<<'['<<setw(10)<<pkg<<"] ";
+ line<<'['<<setw(10)<<pkg.substr(0, 10)<<"] ";
line<<'['<<setw(4)<<tool<<"] ";
line<<tgt;
cout<<line.str()<<'\n';