mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-30 11:27:19 +02:00
CLI
- ::categorize now tags QUOTED args.
This commit is contained in:
parent
482d378fdb
commit
34b9a5dbcc
1 changed files with 8 additions and 0 deletions
|
@ -604,10 +604,18 @@ void CLI::categorize ()
|
||||||
else if (foundCommand && ! readOnly)
|
else if (foundCommand && ! readOnly)
|
||||||
{
|
{
|
||||||
a->tag ("MODIFICATION");
|
a->tag ("MODIFICATION");
|
||||||
|
|
||||||
|
// If the argument contains a space, it was quoted. Record that.
|
||||||
|
if (! noSpaces (raw))
|
||||||
|
a->tag ("QUOTED");
|
||||||
}
|
}
|
||||||
else if (!foundCommand || (foundCommand && readOnly))
|
else if (!foundCommand || (foundCommand && readOnly))
|
||||||
{
|
{
|
||||||
a->tag ("FILTER");
|
a->tag ("FILTER");
|
||||||
|
|
||||||
|
// If the argument contains a space, it was quoted. Record that.
|
||||||
|
if (! noSpaces (raw))
|
||||||
|
a->tag ("QUOTED");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue