Searched refs:get_help_heading (Results 1 – 3 of 3) sorted by relevance
/third_party/rust/crates/clap/tests/derive/ |
D | help.rs | 21 assert_eq!(should_be_in_section_a.get_help_heading(), Some("HEADING A")); in arg_help_heading_applied() 27 assert_eq!(should_be_in_section_b.get_help_heading(), None); in arg_help_heading_applied() 49 assert_eq!(should_be_in_section_a.get_help_heading(), Some("HEADING A")); in app_help_heading_applied() 56 should_be_in_default_section.get_help_heading(), in app_help_heading_applied() 126 assert_eq!(should_be_in_section_a.get_help_heading(), Some("HEADING A")); in app_help_heading_flattened() 132 assert_eq!(should_be_in_section_b.get_help_heading(), Some("HEADING B")); in app_help_heading_flattened() 138 assert_eq!(should_be_in_section_b.get_help_heading(), Some("HEADING B")); in app_help_heading_flattened() 146 assert_eq!(should_be_in_sub_a.get_help_heading(), Some("SUB A")); in app_help_heading_flattened() 154 assert_eq!(should_be_in_sub_b.get_help_heading(), Some("SUB B")); in app_help_heading_flattened() 163 assert_eq!(should_be_in_sub_c.get_help_heading(), Some("SUB C")); in app_help_heading_flattened() [all …]
|
/third_party/rust/crates/clap/src/output/ |
D | help_template.rs | 341 .filter(|a| a.get_help_heading().is_none()) in write_all_args() 347 .filter(|a| a.get_help_heading().is_none()) in write_all_args() 355 .filter_map(|arg| arg.get_help_heading()) in write_all_args() 400 if let Some(help_heading) = a.get_help_heading() { in write_all_args()
|
/third_party/rust/crates/clap/src/builder/ |
D | arg.rs | 3725 pub fn get_help_heading(&self) -> Option<&str> { in get_help_heading() method
|