netcmd: add newline before epilog so there is a space between
authorRob van der Linde <rob@catalyst.net.nz>
Wed, 14 Feb 2024 04:15:02 +0000 (17:15 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 1 Mar 2024 04:45:36 +0000 (04:45 +0000)
Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/netcmd/__init__.py

index e83c8390c55fa8af02fd9059f78fc0b2fe7adc02..beb825af075134bfcd2a0ce45636a9e88cc76000 100644 (file)
@@ -436,7 +436,7 @@ class SuperCommand(Command):
             epilog += "  %*s  - %s\n" % (
                 -max_length, cmd_name, cmd.short_description)
 
-        epilog += ("For more help on a specific subcommand, please type: "
+        epilog += ("\nFor more help on a specific subcommand, please type: "
                    f"{self.command_name} <subcommand> (-h|--help)\n")
 
         parser, optiongroups = self._create_parser(self.command_name, epilog=epilog)