Home | History | Annotate | Download | only in tool

Lines Matching refs:help_text

49     def __init__(self, help_text, argument_names=None, options=None, long_help=None, requires_local_commits=False):
50 self.help_text = help_text
120 help_text = self.name_with_arguments().ljust(len(self.name_with_arguments()) + 3) + self.help_text + "\n\n"
122 help_text += "%s\n\n" % self.long_help
123 help_text += self.option_parser.format_option_help(IndentedHelpFormatter())
124 return help_text
137 # FIXME: This should just be rolled into Command. help_text and argument_names do not need to be instance variables.
139 help_text = None
143 Command.__init__(self, self.help_text, self.argument_names, options=options, long_help=self.long_help, **kwargs)
168 help_text = "Display information about this program or its subcommands"
188 command_help_texts = map(lambda command: " %s %s\n" % (command.name.ljust(longest_name_length), command.help_text), relevant_commands)