mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
Merge pull request #4162 from epage/help
fix(usage): Have spillover use TAB
This commit is contained in:
commit
7e4b5f6196
1 changed files with 2 additions and 1 deletions
|
@ -80,6 +80,7 @@ impl<'cmd> Usage<'cmd> {
|
|||
|| self.cmd.is_args_conflicts_with_subcommands_set()
|
||||
{
|
||||
styled.none("\n");
|
||||
styled.none(TAB);
|
||||
if self.cmd.is_args_conflicts_with_subcommands_set() {
|
||||
// Short-circuit full usage creation since no args will be relevant
|
||||
styled.literal(name);
|
||||
|
|
Loading…
Reference in a new issue