mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdDenotate: Converted from CLI to CLI2
This commit is contained in:
parent
f8ab97a07e
commit
f305a973da
1 changed files with 2 additions and 3 deletions
|
@ -65,10 +65,9 @@ int CmdDenotate::execute (std::string& output)
|
|||
|
||||
// Extract all the ORIGINAL MODIFICATION args as simple text patterns.
|
||||
std::string pattern = "";
|
||||
for (auto& a : context.cli._args)
|
||||
for (auto& a : context.cli2._args)
|
||||
{
|
||||
if (a.hasTag ("ORIGINAL") &&
|
||||
a.hasTag ("MODIFICATION"))
|
||||
if (a.hasTag ("MODIFICATION"))
|
||||
{
|
||||
if (pattern != "")
|
||||
pattern += ' ';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue