Lines Matching refs:subcmd

60         Command::new("subcmd").subcommand(
79 .try_get_matches_from(["ctest", "help", "subcmd", "multi", "foo"])
84 Usage: ctest subcmd multi [OPTIONS]
176 let m = utils::complex_app().try_get_matches_from(vec!["clap-test", "subcmd", "-h"]);
184 let m = utils::complex_app().try_get_matches_from(vec!["clap-test", "subcmd", "--help"]);
192 let m = utils::complex_app().try_get_matches_from(vec!["clap-test", "help", "subcmd"]);
208 subcmd tests subcommands
304 Usage: ctest subcmd multi [OPTIONS]
316 Command::new("subcmd").subcommand(
334 utils::assert_output(cmd, "ctest help subcmd multi", MULTI_SC_HELP, false);
509 static SC_HELP: &str = "clap-test-subcmd 0.1
513 Usage: clap-test subcmd [OPTIONS] [scpositional]
527 utils::assert_output(a, "clap-test subcmd --help", SC_HELP, false);
2035 .subcommand(Command::new("subcmd").subcommand(Command::new("multi").version("1.0")));
2045 Usage: myapp subcmd help [COMMAND]...
2052 .subcommand(Command::new("subcmd").subcommand(Command::new("multi").version("1.0")));
2056 "myapp subcmd help help",
2068 subcmd\x20\x20
2083 .subcommand(Command::new("subcmd").subcommand(Command::new("multi").version("1.0")));
2106 .subcommand(Command::new("subcmd").subcommand(Command::new("multi").version("1.0")));
2114 Usage: myapp subcmd [OPTIONS] [COMMAND]
2132 .subcommand(Command::new("subcmd").subcommand(Command::new("multi").version("1.0")));
2134 utils::assert_output(cmd, "myapp help subcmd", HELP_SUBCMD, false);
2140 Usage: myapp subcmd multi [OPTIONS]
2155 .subcommand(Command::new("subcmd").subcommand(Command::new("multi").version("1.0")));
2157 utils::assert_output(cmd, "myapp help subcmd multi", HELP_SUB_SUBCMD, false);
2738 let subcmd = cmd.find_subcommand_mut("test").unwrap();
2740 let help = subcmd.render_help().to_string();
2747 Usage: ctest subcmd
2756 .subcommand(Command::new("subcmd"));
2757 utils::assert_output(cmd, "ctest subcmd --help", MULTI_SC_HELP, false);
2763 Usage: ctest subcmd
2772 .subcommand(Command::new("subcmd"));
2773 utils::assert_output(cmd, "ctest subcmd --help", MULTI_SC_HELP, false);