- ::categorize now tags QUOTED args.
This commit is contained in:
Paul Beckingham 2014-10-27 10:27:08 -04:00
parent 482d378fdb
commit 34b9a5dbcc

View file

@ -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");
}
}
}