Home
last modified time | relevance | path

Searched refs:get_help (Results 1 - 18 of 18) sorted by relevance

/third_party/rust/crates/clap/tests/
H A Dmacros.rs49 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() in short_with_value()
[all...]
/third_party/rust/crates/clap/tests/derive/
H A Dapp_name.rs4 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()
H A Drename_all_env.rs16 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()
H A Darguments.rs17 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()
H A Ddoc_comments_help.rs89 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()
H A Dflatten.rs213 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()
H A Dutils.rs17 pub fn get_help<T: CommandFactory>() -> String { in get_help() functions
H A Dflags.rs96 arg.get_help().map(|s| s.to_string()), in inferred_help()
120 arg.get_help().map(|s| s.to_string()), in inferred_version()
H A Doptions.rs284 let help = utils::get_help::<Opt>(); in option_option_type_help()
/third_party/rust/crates/clap/clap_complete/src/shells/
H A Dfish.rs100 if let Some(data) = option.get_help() { in gen_fish_inner()
126 if let Some(data) = flag.get_help() { in gen_fish_inner()
174 escape_string(&value.get_help().unwrap_or_default().to_string(), true) in value_completion()
/third_party/rust/crates/clap/src/builder/
H A Dpossible_value.rs155 pub fn get_help(&self) -> Option<&StyledStr> { in get_help() functions
165 self.get_help()
H A Darg.rs3705 pub fn get_help(&self) -> Option<&StyledStr> { in get_help() functions
H A Dcommand.rs4132 .filter(|arg| arg.get_help().is_none() && arg.get_long_help().is_none())
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dlayout_cmdline_token.rs79 /// get_help() fills the dstbuf with the help for the token. It returns
109 pub get_help: ::std::option::Option<
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/
H A Dlayout_cmdline_token.h29 * get_help() fills the dstbuf with the help for the token. It returns
42 int (*get_help)(cmdline_parse_token_hdr_t *, char *, unsigned int); member
/third_party/rust/crates/clap/clap_complete_fig/src/
H A Dfig.rs191 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/
H A Drender.rs293 return opt.get_help(); in option_help()
343 let with_help = possibles.iter().any(|p| p.get_help().is_some()); in format_possible_values()
347 match value.get_help() { in format_possible_values()
/third_party/rust/crates/clap/src/output/
H A Dhelp_template.rs477 .or_else(|| arg.get_help()) in write_arg()
480 arg.get_help() in write_arg()
651 if let Some(help) = pv.get_help() { in help()
696 let h = arg.get_help().unwrap_or_default(); in arg_next_line_help()

Completed in 16 milliseconds