Lines Matching full:help
40 Command.__init__(self, "help text", **kwargs)
66 expected_missing_args_error = "2 arguments required, 1 argument provided. Provided: 'foo' Required: ARG1 ARG2\nSee 'trivial-tool help trivial' for usage.\n"
115 -h, --help show this help message and exit
118 trivial help text
120 See 'trivial-tool help --all-commands' to list all commands.
121 See 'trivial-tool help COMMAND' for more information on a specific command.
125 self._assert_tool_main_outputs(tool, ["tool", "help"], expected_common_commands_help)
129 -h, --help show this help message and exit
132 help Display information about this program or its subcommands
133 trivial help text
134 uncommon help text
136 See 'trivial-tool help --all-commands' to list all commands.
137 See 'trivial-tool help COMMAND' for more information on a specific command.
140 self._assert_tool_main_outputs(tool, ["tool", "help", "--all-commands"], expected_all_commands_help)
142 self._assert_tool_main_outputs(tool, ["tool", "--all-commands", "help"], expected_all_commands_help)
146 command_with_options = TrivialCommand(options=[make_option("--my_option")], long_help="LONG HELP")
148 expected_subcommand_help = "trivial [options] help text\n\nLONG HELP\n\nOptions:\n --my_option=MY_OPTION\n\n"
149 self._assert_tool_main_outputs(tool, ["tool", "help", "trivial"], expected_subcommand_help)