mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-09 00:30:36 +02:00
Added output of number of tasks to be modified in batch mode
This commit is contained in:
parent
178c17d032
commit
bd2ad97ccb
9 changed files with 28 additions and 0 deletions
|
@ -87,6 +87,9 @@ int CmdDenotate::execute (std::string&)
|
|||
// Accumulated project change notifications.
|
||||
std::map <std::string, std::string> projectChanges;
|
||||
|
||||
if(filtered.size() > 1) {
|
||||
std::cout << "This command will alter " << format(filtered.size()) << " tasks." << std::endl;
|
||||
}
|
||||
for (auto& task : filtered)
|
||||
{
|
||||
Task before (task);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue