From d607f2ccf5ebf2bac9bf4387897ab749029a3ba6 Mon Sep 17 00:00:00 2001 From: John Barker Date: Fri, 20 Dec 2013 21:08:14 +0000 Subject: [PATCH] Add some blank lines in help to add readability --- bin/ansible-galaxy | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/ansible-galaxy b/bin/ansible-galaxy index f07c42aa7d..4038de6c98 100755 --- a/bin/ansible-galaxy +++ b/bin/ansible-galaxy @@ -103,8 +103,10 @@ def build_option_parser(action): the user wants to execute. """ - parser = OptionParser(epilog = "See '%s --help ' for more information on a specific command." % os.path.basename(sys.argv[0])) - parser.set_usage("usage: %%prog [--help] [%s] [options] ..." % "|".join(VALID_ACTIONS)) + usage = "usage: %%prog [%s] [--help] [options] ..." % "|".join(VALID_ACTIONS) + epilog = "\nSee '%s --help' for more information on a specific command.\n\n" % os.path.basename(sys.argv[0]) + OptionParser.format_epilog = lambda self, formatter: self.epilog + parser = OptionParser(usage=usage, epilog=epilog) if not action: parser.print_help()