fix(help): Style arg groups

This commit is contained in:
Ed Page 2024-09-04 14:07:59 -05:00
parent 220597eb97
commit 75365ad7d5

View file

@ -4578,8 +4578,9 @@ impl Command {
})
.collect::<Vec<_>>()
.join("|");
let placeholder = self.get_styles().get_placeholder();
let mut styled = StyledStr::new();
write!(&mut styled, "<{g_string}>").unwrap();
write!(&mut styled, "{placeholder}<{g_string}>{placeholder:#}").unwrap();
styled
}
}