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();