Skip to content

Commit

Permalink
fix: print valid image extensions individually
Browse files Browse the repository at this point in the history
  • Loading branch information
ozwaldorf committed Sep 9, 2024
1 parent ff186b8 commit e948e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down

0 comments on commit e948e13

Please sign in to comment.