mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW-1641: 'edit' should process or reject <mods> arguments
- Thanks to Daniel Shahaf.
This commit is contained in:
parent
7aa101de58
commit
99e0953489
12 changed files with 19 additions and 0 deletions
|
@ -67,6 +67,9 @@ int CmdEdit::execute (std::string& output)
|
|||
std::vector <Task> filtered;
|
||||
filter.subset (filtered);
|
||||
|
||||
if (filter.hasModifications ())
|
||||
throw std::string (STRING_ERROR_NO_MODS);
|
||||
|
||||
// Find number of matching tasks.
|
||||
for (auto& task : filtered)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue