/third_party/rust/crates/clap/tests/ |
D | macros.rs | 49 assert_eq!(arg.get_help().map(|s| s.to_string()), None); in short() 57 assert_eq!(arg.get_help().map(|s| s.to_string()), None); in short() 65 assert_eq!(arg.get_help().map(|s| s.to_string()), None); in short() 74 arg.get_help().map(|s| s.to_string()), in short() 88 assert_eq!(arg.get_help().map(|s| s.to_string()), None); in short_and_long() 97 assert_eq!(arg.get_help().map(|s| s.to_string()), None); in short_and_long() 106 assert_eq!(arg.get_help().map(|s| s.to_string()), None); in short_and_long() 116 arg.get_help().map(|s| s.to_string()), in short_and_long() 195 assert_eq!(arg.get_help().map(|s| s.to_string()), None); in short_with_value() 203 assert_eq!(arg.get_help().map(|s| s.to_string()), None); in short_with_value() [all …]
|
/third_party/rust/crates/clap/tests/derive/ |
D | app_name.rs | 4 use crate::utils::get_help; 13 let help = get_help::<MyApp>(); in app_name_in_short_help_from_struct() 24 let help = get_help::<MyApp>(); in app_name_in_long_help_from_struct() 35 let help = get_help::<MyApp>(); in app_name_in_short_help_from_enum()
|
D | rename_all_env.rs | 16 let help = utils::get_help::<BehaviorModel>(); in it_works() 28 let help = utils::get_help::<BehaviorModel>(); in default_is_screaming() 44 let help = utils::get_help::<BehaviorModel>(); in overridable()
|
D | arguments.rs | 17 use crate::utils::get_help; 55 let help = get_help::<Opt>(); in auto_value_name() 73 let help = get_help::<Opt>(); in explicit_value_name()
|
D | doc_comments_help.rs | 89 let short_help = utils::get_help::<LoremIpsum>(); in field_long_doc_comment_both_help_long_help() 121 let short_help = utils::get_help::<LoremIpsum>(); in top_long_doc_comment_both_help_long_help() 210 let help = utils::get_help::<Command>(); in multiline_separates_default()
|
D | flatten.rs | 213 let help = utils::get_help::<Opt>(); in flatten_with_doc_comment() 234 let short_help = utils::get_help::<Command>(); in docstrings_ordering_with_multiple_command() 254 let short_help = utils::get_help::<Command>(); in docstrings_ordering_with_multiple_clap_partial()
|
D | utils.rs | 17 pub fn get_help<T: CommandFactory>() -> String { in get_help() function
|
D | flags.rs | 96 arg.get_help().map(|s| s.to_string()), in inferred_help() 120 arg.get_help().map(|s| s.to_string()), in inferred_version()
|
D | options.rs | 284 let help = utils::get_help::<Opt>(); in option_option_type_help()
|
/third_party/rust/crates/clap/clap_complete/src/shells/ |
D | powershell.rs | 88 let tooltip = get_tooltip(option.get_help(), shorts[0]); in generate_inner() 102 let tooltip = get_tooltip(option.get_help(), longs[0]); in generate_inner() 118 let tooltip = get_tooltip(flag.get_help(), shorts[0]); in generate_inner() 132 let tooltip = get_tooltip(flag.get_help(), longs[0]); in generate_inner()
|
D | elvish.rs | 83 let tooltip = get_tooltip(option.get_help(), shorts[0]); in generate_inner() 91 let tooltip = get_tooltip(option.get_help(), longs[0]); in generate_inner() 101 let tooltip = get_tooltip(flag.get_help(), shorts[0]); in generate_inner() 109 let tooltip = get_tooltip(flag.get_help(), longs[0]); in generate_inner()
|
D | fish.rs | 100 if let Some(data) = option.get_help() { 126 if let Some(data) = flag.get_help() { 174 escape_string(&value.get_help().unwrap_or_default().to_string(), true) in value_completion()
|
D | zsh.rs | 360 .any(|value| !value.is_hide_set() && value.get_help().is_some()) 374 escape_help(&value.get_help().unwrap_or_default().to_string()), 447 let help = escape_help(&o.get_help().unwrap_or_default().to_string()); 547 let help = escape_help(&f.get_help().unwrap_or_default().to_string()); 649 .get_help()
|
/third_party/rust/crates/clap/src/builder/ |
D | possible_value.rs | 155 pub fn get_help(&self) -> Option<&StyledStr> { in get_help() method 165 self.get_help() in get_visible_help()
|
D | arg.rs | 3704 pub fn get_help(&self) -> Option<&StyledStr> { in get_help() method
|
D | command.rs | 4132 .filter(|arg| arg.get_help().is_none() && arg.get_long_help().is_none()) in _panic_on_missing_help()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
D | layout_cmdline_token.rs | 109 pub get_help: ::std::option::Option< field 169 ::std::ptr::addr_of!((*ptr).get_help) as usize - ptr as usize in bindgen_test_layout_cmdline_token_ops() 176 stringify!(get_help) in bindgen_test_layout_cmdline_token_ops()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
D | layout_cmdline_token.h | 42 int (*get_help)(cmdline_parse_token_hdr_t *, char *, unsigned int); member
|
/third_party/rust/crates/clap/clap_complete_fig/src/ |
D | fig.rs | 191 if let Some(data) = option.get_help() { in gen_options() 300 if let Some(data) = flag.get_help() { in gen_options() 402 if let Some(help) = value.get_help() { in gen_args()
|
/third_party/rust/crates/clap/clap_mangen/src/ |
D | render.rs | 291 return opt.get_help(); in option_help() 341 let with_help = possibles.iter().any(|p| p.get_help().is_some()); in format_possible_values() 345 match value.get_help() { in format_possible_values()
|
/third_party/rust/crates/clap/src/output/ |
D | help_template.rs | 472 .or_else(|| arg.get_help()) in write_arg() 475 arg.get_help() in write_arg() 646 if let Some(help) = pv.get_help() { in help() 691 let h = arg.get_help().unwrap_or_default(); in arg_next_line_help()
|