From d5002ab4007a5112511cec3d65483cb4e5942efd Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 19 Sep 2015 15:22:03 -0400 Subject: [PATCH] Bug: The 'filter' verbosity token code was missing - Probbably cut out during the CLI --> CLI2 cutover. --- src/CLI2.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/CLI2.cpp b/src/CLI2.cpp index 098fbed07..677db1e18 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -663,6 +663,23 @@ void CLI2::prepareFilter () desugarFilterAttributes (); desugarFilterPatterns (); insertJunctions (); // Deliberately after all desugar calls. + + if (context.verbose ("filter")) + { + std::string combined; + for (auto& a : _args) + { + if (a.hasTag ("FILTER")) + { + if (combined != "") + combined += " "; + + combined += a.attribute ("raw"); + } + } + + context.footnote (std::string (STRING_COLUMN_LABEL_FILTER) + ": " + combined); + } } ////////////////////////////////////////////////////////////////////////////////