Home
last modified time | relevance | path

Searched refs:help_template (Results 1 – 18 of 18) sorted by relevance

/third_party/rust/crates/clap/tests/builder/
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()
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()
Dutils.rs54 .help_template(FULL_TEMPLATE) in complex_app()
96 .help_template(FULL_TEMPLATE) in complex_app()
Dcommand.rs20 .help_template(utils::FULL_TEMPLATE) in command()
Dversion.rs6 Command::new("foo").help_template(utils::FULL_TEMPLATE) in common()
Dhelp.rs1052 .help_template( in ripgrep_usage_using_templates()
1072 .help_template( in ripgrep_usage_using_templates()
1208 .help_template(utils::FULL_TEMPLATE) in issue_777_wrap_all_things()
/third_party/rust/crates/clap/src/output/
Dmod.rs3 mod help_template; module
12 pub(crate) use self::help_template::AutoHelp;
14 pub(crate) use self::help_template::HelpTemplate;
/third_party/rust/crates/clap/tests/derive/
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()
Dissues.rs63 #[command(help_template = utils::FULL_TEMPLATE)] in issue_324()
/third_party/rust/crates/clap/examples/
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/
Ddebug_asserts.rs349 if let Some(help_template) = cmd.get_help_template() { in assert_app()
351 !help_template.to_string().contains("{flags}"), in assert_app()
357 !help_template.to_string().contains("{unified}"), in assert_app()
364 !help_template.to_string().contains("{bin}"), in assert_app()
Dcommand.rs1802 pub fn help_template(mut self, s: impl IntoResettable<StyledStr>) -> Self { in help_template() method
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/
Dv8_foozzie.py199 def add_argument(flag_template, help_template, **kwargs): argument
202 help=help_template % self.label,
/third_party/rust/crates/clap/clap_bench/benches/
D04_new_help.rs202 …let mut cmd = app_example4().help_template("{name} {version}\n{author}\n{about}\n\nUSAGE:\n {us… in example4_template()
D05_ripgrep.rs307 .help_template(TEMPLATE) in cmd()
/third_party/rust/crates/cxx/gen/cmd/src/
Dapp.rs37 .help_template(TEMPLATE) in app()
/third_party/rust/crates/cxx/third-party/
DBUCK100 "vendor/clap-4.1.4/src/output/help_template.rs",
/third_party/rust/crates/clap/
DCHANGELOG.md469 …nds are now listed before arguments. To get the old behavior, see `Command::help_template` (#4132)
470 …d help headings inconsistent. To get the old behavior, see `Command::help_template`, `Arg::help_h…
473 … by default from help output. To get the old behavior, see `Command::help_template`. (#4132, #416…
560 - *(help)* New `{tab}` variable for `Command::help_template` (#4161)
823 - *(help)* New `help_template` variable `{name}` to fix problems with `{bin}`
1233 - `{flags}` and `{unified}` will assert if present in `App::help_template`