mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
fix(help): Clarify what is tab dependent and what isn't
This commit is contained in:
parent
56fe50eab8
commit
ed6475e9de
1 changed files with 1 additions and 1 deletions
|
@ -557,7 +557,7 @@ impl<'cmd, 'writer> Help<'cmd, 'writer> {
|
|||
} else if let Some(true) = arg.map(|a| a.is_positional()) {
|
||||
longest + TAB_WIDTH * 2
|
||||
} else {
|
||||
longest + TAB_WIDTH * 3
|
||||
longest + TAB_WIDTH * 2 + 4 // See `fn short` for the 4
|
||||
};
|
||||
let trailing_indent = spaces; // Don't indent any further than the first line is indented
|
||||
let trailing_indent = self.get_spaces(trailing_indent);
|
||||
|
|
Loading…
Reference in a new issue