From e948e1377c1cef9dd38913989e033311370f4924 Mon Sep 17 00:00:00 2001 From: ozwaldorf Date: Mon, 9 Sep 2024 10:38:08 -0400 Subject: [PATCH] fix: print valid image extensions individually --- src/bin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin.rs b/src/bin.rs index 36c1951..c8b4687 100644 --- a/src/bin.rs +++ b/src/bin.rs @@ -496,7 +496,7 @@ fn concat_colors( let mut doc = Doc::default(); doc.emphasis("Supported image formats:"); doc.text("\n"); - for extension in IMAGE_GLOB.split(' ') { + for extension in IMAGE_GLOB[3..IMAGE_GLOB.len() - 1].split('|') { doc.text(" "); doc.literal(extension); };