Added output of number of tasks to be modified in batch mode

This commit is contained in:
Sebastian Uharek
2021-07-18 18:36:01 +02:00
committed by Tomas Babej
parent 178c17d032
commit bd2ad97ccb
9 changed files with 28 additions and 0 deletions

View File

@@ -71,6 +71,9 @@ int CmdModify::execute (std::string&)
std::map <std::string, std::string> projectChanges;
auto count = 0;
if(filtered.size() > 1) {
std::cout << "This command will alter " << format(filtered.size()) << " tasks." << std::endl;
}
for (auto& task : filtered)
{
Task before (task);