mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Confirmation
- Implemented consistent confirmation.
This commit is contained in:
parent
1b54516b45
commit
02e7c4f3ce
4 changed files with 25 additions and 31 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue