Skip to content

Commit

Permalink
fix(usage): Have spillover use TAB
Browse files Browse the repository at this point in the history
This was missed in clap-rs#4161
  • Loading branch information
epage committed Aug 31, 2022
1 parent 13c1442 commit cdcbf13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/output/usage.rs
Expand Up @@ -79,7 +79,8 @@ impl<'cmd> Usage<'cmd> {
if self.cmd.is_subcommand_negates_reqs_set()
|| self.cmd.is_args_conflicts_with_subcommands_set()
{
styled.none("\n ");
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);
Expand Down

0 comments on commit cdcbf13

Please sign in to comment.