Home
last modified time | relevance | path

Searched refs:help_heading (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/clap/tests/derive/
Dhelp.rs8 #[arg(help_heading = Some("HEADING A"))] in arg_help_heading_applied()
36 #[arg(help_heading = Some("HEADING A"))] in app_help_heading_applied()
/third_party/rust/crates/clap/src/builder/
Darg.rs84 pub(crate) help_heading: Option<Option<Str>>, field
2175 pub fn help_heading(mut self, heading: impl IntoResettable<Str>) -> Self { in help_heading() method
2176 self.help_heading = Some(heading.into_resettable().into_option()); in help_heading()
3726 self.help_heading in get_help_heading()
4305 .field("help_heading", &self.help_heading) in fmt()
Dcommand.rs180 arg.help_heading in arg_internal()
/third_party/rust/crates/clap/tests/builder/
Dhelp.rs1668 .help_heading(Some("OVERRIDE SPECIAL")), in multiple_custom_help_headers()
1670 .arg(arg!(--style <style> "Choose musical style to play the song").help_heading(None)) in multiple_custom_help_headers()
1684 .help_heading(Some("NETWORKING")), in multiple_custom_help_headers()
1733 .help_heading(Some("OVERRIDE SPECIAL")), in custom_help_headers_hide_args()
1747 .help_heading(Some("NETWORKING")) in custom_help_headers_hide_args()
/third_party/rust/crates/clap/src/output/
Dhelp_template.rs400 if let Some(help_heading) = a.get_help_heading() { in write_all_args()
401 return help_heading == heading; in write_all_args()
/third_party/rust/crates/clap/
DCHANGELOG.md470 …istent. To get the old behavior, see `Command::help_template`, `Arg::help_heading`, and `Command:…
958 - *(help)* `clap::Command::next_help_heading` is now preferred over `clap::Command::help_heading` (…
1143 You can now override the default group with `Arg::help_heading` and
1145 you can set `App::help_heading`.
1318 - `App::help_heading` (apply to all future args)
1319 - `Arg::help_heading` (apply to current arg)