CLI
- ::categorize now tags QUOTED args.
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user