fix(error): Don't underline indentation

This commit is contained in:
Ed Page 2022-08-26 07:15:57 -05:00
parent c2ce1dd6f5
commit 8315ba3dd6

View file

@ -32,7 +32,8 @@ impl<'cmd> Usage<'cmd> {
pub(crate) fn create_usage_with_title(&self, used: &[Id]) -> StyledStr {
debug!("Usage::create_usage_with_title");
let mut styled = StyledStr::new();
styled.header("USAGE:\n ");
styled.header("USAGE:");
styled.none("\n ");
styled.extend(self.create_usage_no_title(used).into_iter());
styled
}