Lines Matching refs:subcmd
103 note: subcommand 'subcmd' exists
111 let cmd = Command::new("dym").subcommand(Command::new("subcmd"));
144 note: 'subcmd --subcmdarg' exists
152 .subcommand(Command::new("subcmd").arg(arg!(-s --subcmdarg <subcmdarg> "tests")));
154 utils::assert_output(cmd, "dym --subcmarg subcmd", EXPECTED, true);
170 .subcommand(Command::new("subcmd").arg(arg!(-s --subcmdarg <subcmdarg> "tests")));
354 error: unexpected argument 'subcmd' found
356 note: subcommand 'subcmd' exists; to use it, remove the '--' before it
363 let cmd = Command::new("cmd").subcommand(Command::new("subcmd"));
365 utils::assert_output(cmd, "cmd -- subcmd", SUBCMD_AFTER_DOUBLE_DASH, true);
616 let subcmd = cmd.find_subcommand_mut("foo").unwrap();
617 let subcmd = subcmd.find_subcommand_mut("bar").unwrap();
619 let help = subcmd.render_help().to_string();