diff --git a/src/CLI.cpp b/src/CLI.cpp index be38d90c8..4c0aef9ca 100644 --- a/src/CLI.cpp +++ b/src/CLI.cpp @@ -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"); } } }