Lines Matching full:help
42 Command.__init__(self, "help text", **kwargs)
58 Command.__init__(self, "help text", **kwargs)
84 expected_missing_args_error = "2 arguments required, 1 argument provided. Provided: 'foo' Required: ARG1 ARG2\nSee 'trivial-tool help trivial' for usage.\n"
139 -h, --help show this help message and exit
142 trivial help text
144 See 'trivial-tool help --all-commands' to list all commands.
145 See 'trivial-tool help COMMAND' for more information on a specific command.
149 self._assert_tool_main_outputs(tool, ["tool", "help"], expected_common_commands_help)
153 -h, --help show this help message and exit
156 help Display information about this program or its subcommands
157 trivial help text
158 uncommon help text
160 See 'trivial-tool help --all-commands' to list all commands.
161 See 'trivial-tool help COMMAND' for more information on a specific command.
164 self._assert_tool_main_outputs(tool, ["tool", "help", "--all-commands"], expected_all_commands_help)
166 self._assert_tool_main_outputs(tool, ["tool", "--all-commands", "help"], expected_all_commands_help)
170 command_with_options = TrivialCommand(options=[make_option("--my_option")], long_help="LONG HELP")
172 expected_subcommand_help = "trivial [options] help text\n\nLONG HELP\n\nOptions:\n --my_option=MY_OPTION\n\n"
173 self._assert_tool_main_outputs(tool, ["tool", "help", "trivial"], expected_subcommand_help)