Merge pull request #4162 from epage/help

fix(usage): Have spillover use TAB
This commit is contained in:
Ed Page 2022-08-31 16:42:32 -05:00 committed by GitHub
commit 7e4b5f6196
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);