Lines Matching defs:help
123 let arg = clap::arg!(help: -b);
128 .arg(clap::arg!(help: -b).action(clap::ArgAction::Help));
132 .find(|arg| arg.get_id() == "help")
139 let arg = clap::arg!(-'?' - -help);
144 .arg(clap::arg!(-'?' - -help).action(clap::ArgAction::Help));
148 .find(|arg| arg.get_id() == "help")
280 #[cfg(all(feature = "help", featiure = "usage"))]
302 let mut help = Vec::new();
303 cmd.write_help(&mut help).unwrap();
309 -h, --help Print help information
311 snapbox::assert_eq(HELP, help);
348 assert_eq!(arg, clap::Arg::new("some-arg").help("some arg"));