Home
last modified time | relevance | path

Searched refs:help_heading (Results 1 - 5 of 5) sorted by relevance

/third_party/rust/crates/clap/tests/derive/
H A 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/
H A Darg.rs84 pub(crate) help_heading: Option<Option<Str>>,
2176 pub fn help_heading(mut self, heading: impl IntoResettable<Str>) -> Self { in help_heading() functions
2177 self.help_heading = Some(heading.into_resettable().into_option()); in help_heading()
3727 self.help_heading in get_help_heading()
4306 .field("help_heading", &self.help_heading) in fmt()
H A Dcommand.rs180 arg.help_heading in arg_internal()
1845 /// This will be used for any arg that hasn't had [`Arg::help_heading`] called.
1853 /// [`Arg::help_heading`]: crate::Arg::help_heading()
3294 /// [`Command::help_heading`]: Command::help_heading()
/third_party/rust/crates/clap/tests/builder/
H A Dhelp.rs1691 .help_heading(Some("OVERRIDE SPECIAL")), in multiple_custom_help_headers()
1693 .arg(arg!(--style <style> "Choose musical style to play the song").help_heading(None)) in multiple_custom_help_headers()
1707 .help_heading(Some("NETWORKING")), in multiple_custom_help_headers()
1756 .help_heading(Some("OVERRIDE SPECIAL")), in custom_help_headers_hide_args()
1770 .help_heading(Some("NETWORKING")) in custom_help_headers_hide_args()
/third_party/rust/crates/clap/src/output/
H A Dhelp_template.rs181 // handling help_heading in the template.
403 if let Some(help_heading) = a.get_help_heading() {
404 return help_heading == heading;

Completed in 15 milliseconds