Added output of number of tasks to be modified in batch mode
This commit is contained in:
committed by
Tomas Babej
parent
178c17d032
commit
bd2ad97ccb
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user