mirror of
https://github.com/clap-rs/clap
synced 2025-01-18 23:53:54 +00:00
fix(error): Don't underline indentation
This commit is contained in:
parent
c2ce1dd6f5
commit
8315ba3dd6
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue