From f3a4e16ce2d02c3db1f7a113169144525c4ed659 Mon Sep 17 00:00:00 2001 From: Gavin Halliday Date: Thu, 31 Oct 2024 09:57:42 +0000 Subject: [PATCH] HPCC-32918 Allow wutool info to take multiple filter arguments Signed-off-by: Gavin Halliday --- tools/wutool/wutool.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/wutool/wutool.cpp b/tools/wutool/wutool.cpp index 199e592ff07..d10eb733394 100644 --- a/tools/wutool/wutool.cpp +++ b/tools/wutool/wutool.cpp @@ -309,7 +309,8 @@ static void process(IConstWorkUnit &w, IProperties *globals, const StringArray & { ScopeDumper dumper; WuScopeFilter filter; - filter.addFilter(args.item(0)); + ForEachItemIn(i, args) + filter.addFilter(args.item(i)); if (!filter.outputDefined()) filter.addOutputProperties(PTall); filter.finishedFilter();