mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-30 02:17:21 +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)
|
||||
{
|
||||
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))
|
||||
{
|
||||
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