Home
last modified time | relevance | path

Searched refs:help_template (Results 1 - 15 of 15) sorted by relevance

/third_party/rust/crates/clap/tests/builder/
H A Dtemplate_help.rs91 let cmd = get_app().help_template(EXAMPLE1_TMPL_S); in with_template()
97 let cmd = get_app().help_template(EXAMPLE1_TMPS_F); in custom_template()
107 .help_template(""); in template_empty()
117 .help_template("test no tag test"); in template_notag()
127 .help_template("test {unknown_tag} test"); in template_unknowntag()
138 .help_template("{author}\n{version}\n{about}\n{bin}"); in template_author_version()
145 .help_template("{author}\n{version}\n{about}\n{name}"); in template_author_version()
H A Dcargo.rs33 .help_template(utils::FULL_TEMPLATE) in crate_version()
50 .help_template(utils::FULL_TEMPLATE) in crate_description()
64 .help_template(utils::FULL_TEMPLATE) in crate_authors()
78 .help_template(utils::FULL_TEMPLATE) in crate_authors_with_sep()
90 .help_template(utils::FULL_TEMPLATE) in crate_name()
H A Dutils.rs54 .help_template(FULL_TEMPLATE) in complex_app()
96 .help_template(FULL_TEMPLATE) in complex_app()
H A Dcommand.rs20 .help_template(utils::FULL_TEMPLATE) in command()
H A Dversion.rs6 Command::new("foo").help_template(utils::FULL_TEMPLATE) in common()
H A Dhelp.rs1075 .help_template( in ripgrep_usage_using_templates()
1095 .help_template( in ripgrep_usage_using_templates()
1231 .help_template(utils::FULL_TEMPLATE) in issue_777_wrap_all_things()
/third_party/rust/crates/clap/src/output/
H A Dmod.rs3 mod help_template; modules
12 pub(crate) use self::help_template::AutoHelp;
14 pub(crate) use self::help_template::HelpTemplate;
/third_party/rust/crates/clap/tests/derive/
H A Dauthor_version_about.rs23 #[command(help_template = utils::FULL_TEMPLATE)] in no_author_version_about()
34 #[command(help_template = utils::FULL_TEMPLATE)] in use_env()
49 #[command(help_template = utils::FULL_TEMPLATE)] in explicit_version_not_str_lit()
/third_party/rust/crates/clap/examples/
H A Drepl.rs70 .help_template(PARSER_TEMPLATE) in cli()
74 .help_template(APPLET_TEMPLATE), in cli()
80 .help_template(APPLET_TEMPLATE), in cli()
/third_party/rust/crates/clap/src/builder/
H A Ddebug_asserts.rs343 if let Some(help_template) = cmd.get_help_template() {
345 !help_template.to_string().contains("{flags}"),
351 !help_template.to_string().contains("{unified}"),
358 !help_template.to_string().contains("{bin}"),
H A Dcommand.rs1459 /// **NOTE:** A custom [`help_template`][Command::help_template] is needed for author to show
1775 /// .help_template("{name} ({version}) - {usage}")
1785 /// .help_template("\
1802 pub fn help_template(mut self, s: impl IntoResettable<StyledStr>) -> Self { in help_template() functions
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/
H A Dv8_foozzie.py199 def add_argument(flag_template, help_template, **kwargs):
202 help=help_template % self.label,
/third_party/rust/crates/cxx/gen/cmd/src/
H A Dapp.rs37 .help_template(TEMPLATE) in app()
/third_party/rust/crates/clap/clap_bench/benches/
H A D04_new_help.rs202 let mut cmd = app_example4().help_template("{name} {version}\n{author}\n{about}\n\nUSAGE:\n {usage}\n\nOPTIONS:\n{options}\n\nARGS:\n{args}\n"); in example4_template()
H A D05_ripgrep.rs307 .help_template(TEMPLATE) in cmd()

Completed in 15 milliseconds