Home
last modified time | relevance | path

Searched refs:next_help_heading (Results 1 – 9 of 9) sorted by relevance

/third_party/rust/crates/clap/tests/derive/
Dhelp.rs33 #[command(next_help_heading = "DEFAULT")] in app_help_heading_applied()
82 #[command(next_help_heading = "HEADING A")] in app_help_heading_flattened()
89 #[command(next_help_heading = "HEADING B")] in app_help_heading_flattened()
102 #[command(next_help_heading = "SUB A")] in app_help_heading_flattened()
110 #[command(next_help_heading = "SUB B")] in app_help_heading_flattened()
116 #[command(next_help_heading = "SUB C")] in app_help_heading_flattened()
171 #[command(next_help_heading = "HEADING A")] in flatten_field_with_help_heading()
/third_party/rust/crates/clap/examples/
Dfind.rs14 .next_help_heading("TESTS") in cli()
20 .next_help_heading("OPERATORS") in cli()
/third_party/rust/crates/clap/tests/builder/
Dhelp.rs1607 .next_help_heading(Some("NETWORKING")) in custom_headers_headers()
1656 .next_help_heading(Some("NETWORKING")) in multiple_custom_help_headers()
1664 .next_help_heading(Some("SPECIAL")) in multiple_custom_help_headers()
1677 .next_help_heading(None) in multiple_custom_help_headers()
1721 .next_help_heading(Some("NETWORKING")) in custom_help_headers_hide_args()
1729 .next_help_heading(Some("SPECIAL")) in custom_help_headers_hide_args()
1741 .next_help_heading(None) in custom_help_headers_hide_args()
2248 .next_help_heading(Some("NETWORKING")) in custom_heading_pos()
2268 .next_help_heading(Some("NETWORKING")) in only_custom_heading_opts_no_args()
2288 .next_help_heading(Some("NETWORKING")) in only_custom_heading_pos_no_args()
Dopts.rs626 .next_help_heading(Some("test")) in issue_2022_get_flags_misuse()
636 .next_help_heading(Some("This causes default_value to be ignored")) in issue_2279()
648 .next_help_heading(Some("This causes default_value to be ignored")) in issue_2279()
/third_party/rust/crates/clap/clap_derive/src/
Ditem.rs48 next_help_heading: Option<Method>, field
272 next_help_heading: None, in new()
812 self.next_help_heading = Some(Method::new(attr.name.clone(), quote!(#expr))); in push_attrs()
946 let next_help_heading = self.next_help_heading.as_ref().into_iter(); in initial_top_level_methods() localVariable
949 #(#next_help_heading)* in initial_top_level_methods()
977 pub fn next_help_heading(&self) -> TokenStream { in next_help_heading() method
978 let next_help_heading = self.next_help_heading.as_ref().into_iter(); in next_help_heading() localVariable
979 quote!( #(#next_help_heading)* ) in next_help_heading()
/third_party/rust/crates/clap/clap_derive/src/derives/
Dsubcommand.rs184 let next_help_heading = item.next_help_heading(); in gen_augment() localVariable
190 #next_help_heading in gen_augment()
198 #next_help_heading in gen_augment()
Dargs.rs221 let next_help_heading = item.next_help_heading(); in gen_augment() localVariable
226 #next_help_heading in gen_augment()
233 #next_help_heading in gen_augment()
/third_party/rust/crates/clap/src/builder/
Dcommand.rs1856 pub fn next_help_heading(mut self, heading: impl IntoResettable<Str>) -> Self { in next_help_heading() method
/third_party/rust/crates/clap/
DCHANGELOG.md479 - *(derive)* `next_help_heading` can now leak out of a `#[clap(flatten)]`, like all other command s…
958 - *(help)* `clap::Command::next_help_heading` is now preferred over `clap::Command::help_heading` (…