Lines Matching defs:help_text
51 def __init__(self, help_text, argument_names=None, options=None, long_help=None, requires_local_commits=False):
52 self.help_text = help_text
125 help_text = self.name_with_arguments().ljust(len(self.name_with_arguments()) + 3) + self.help_text + "\n\n"
127 help_text += "%s\n\n" % self.long_help
128 help_text += self.option_parser.format_option_help(IndentedHelpFormatter())
129 return help_text
142 # FIXME: This should just be rolled into Command. help_text and argument_names do not need to be instance variables.
144 help_text = None
148 Command.__init__(self, self.help_text, self.argument_names, options=options, long_help=self.long_help, **kwargs)
173 help_text = "Display information about this program or its subcommands"
193 command_help_texts = map(lambda command: " %s %s\n" % (command.name.ljust(longest_name_length), command.help_text), relevant_commands)