Confirmation

- Implemented consistent confirmation.
This commit is contained in:
Paul Beckingham 2011-10-14 02:23:22 -04:00
parent 1b54516b45
commit 02e7c4f3ce
4 changed files with 25 additions and 31 deletions

View file

@ -295,6 +295,18 @@ std::string renderAttribute (const std::string& name, const std::string& value)
return value;
}
////////////////////////////////////////////////////////////////////////////////
// Implements:
// <string>
void feedback_affected (const std::string& effect)
{
if (context.verbose ("affected") ||
context.config.getBoolean ("echo.command")) // Deprecated 2.0
{
std::cout << effect << "\n";
}
}
////////////////////////////////////////////////////////////////////////////////
// Implements:
// Deleted 3 tasks