From d741c7014ede482d26184b12cff062b2dd18d054 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 31 Dec 2025 16:29:28 -0800 Subject: [PATCH] apply to outline --- rust/pspp/src/cli/show_spv.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rust/pspp/src/cli/show_spv.rs b/rust/pspp/src/cli/show_spv.rs index 475aaa8341..d60219997f 100644 --- a/rust/pspp/src/cli/show_spv.rs +++ b/rust/pspp/src/cli/show_spv.rs @@ -139,7 +139,8 @@ impl ShowSpv { fn legacy_data(self) -> Result<()> { let mut archive = SpvArchive::open_file(&self.input, self.password.as_deref())?; let outline = archive.read_outline(|w| eprintln!("{w}"))?; - for item in outline.items { + let items = self.criteria.apply(outline.items); + for item in items { for item in item.iter_in_order() { if let Some(spv_info) = item.spv_info() && let Some(members) = &spv_info.members -- 2.30.2