/third_party/rust/crates/clap/src/error/ |
D | format.rs | 197 let possible_values = error.get(ContextKind::ValidValue); in write_dynamic_context() localVariable 198 if let Some(ContextValue::Strings(possible_values)) = possible_values { in write_dynamic_context() 199 if !possible_values.is_empty() { in write_dynamic_context() 203 if let Some((last, elements)) = possible_values.split_last() { in write_dynamic_context() 250 let possible_values = error.get(ContextKind::ValidSubcommand); in write_dynamic_context() localVariable 251 if let Some(ContextValue::Strings(possible_values)) = possible_values { in write_dynamic_context() 252 if !possible_values.is_empty() { in write_dynamic_context() 256 if let Some((last, elements)) = possible_values.split_last() { in write_dynamic_context()
|
/third_party/rust/crates/clap/src/builder/ |
D | value_parser.rs | 243 pub fn possible_values( in possible_values() method 246 self.any_value_parser().possible_values() in possible_values() 589 fn possible_values( in possible_values() method 625 fn possible_values( in possible_values() function 628 P::possible_values(self) in possible_values() 715 fn possible_values( in possible_values() method 1084 fn possible_values( in possible_values() method 1194 fn possible_values( in possible_values() method 1622 fn possible_values() -> impl Iterator<Item = crate::builder::PossibleValue> { in possible_values() method 1645 let possible_vals = Self::possible_values() in parse_ref() [all …]
|
D | arg.rs | 3828 .possible_values() in get_possible_values()
|
/third_party/rust/crates/clap/src/parser/features/ |
D | suggestions.rs | 11 pub(crate) fn did_you_mean<T, I>(v: &str, possible_values: I) -> Vec<String> in did_you_mean() 16 let mut candidates: Vec<(f64, String)> = possible_values in did_you_mean()
|
/third_party/rust/crates/clap/clap_complete/src/shells/ |
D | bash.rs | 203 if let Some(vals) = crate::generator::utils::possible_values(o) { in vals_for() 230 if let Some(vals) = utils::possible_values(pos) { in all_options_for_path()
|
D | fish.rs | 162 if let Some(data) = crate::generator::utils::possible_values(option) { in value_completion()
|
D | zsh.rs | 357 if let Some(values) = crate::generator::utils::possible_values(arg) {
|
/third_party/rust/crates/clap/tests/builder/ |
D | main.rs | 39 mod possible_values; module
|
/third_party/rust/crates/clap/clap_complete/src/generator/ |
D | utils.rs | 123 pub fn possible_values(a: &Arg) -> Option<Vec<clap::builder::PossibleValue>> { in possible_values() function 128 .possible_values() in possible_values()
|
/third_party/rust/crates/clap/clap_complete/src/ |
D | dynamic.rs | 438 if let Some(possible_values) = crate::generator::utils::possible_values(arg) { in complete_arg_value() 440 values.extend(possible_values.into_iter().filter_map(|p| { in complete_arg_value()
|
/third_party/rust/crates/clap/clap_mangen/tests/ |
D | roff.rs | 67 fn possible_values() { in possible_values() function
|
/third_party/rust/crates/codespan/codespan-reporting/examples/ |
D | reusable_diagnostic.rs | 14 possible_values = ColorArg::VARIANTS,
|
D | term.rs | 22 possible_values = ColorArg::VARIANTS,
|
D | readme_preview.rs | 29 possible_values = ColorArg::VARIANTS,
|
/third_party/rust/crates/aho-corasick/aho-corasick-debug/ |
D | main.rs | 69 .possible_values(&[ in parse()
|
/third_party/rust/crates/clap/clap_complete_fig/src/ |
D | fig.rs | 392 if let Some(data) = generator::utils::possible_values(arg) { in gen_args()
|
/third_party/rust/crates/clap/src/parser/ |
D | validator.rs | 561 .possible_values() in get_possible_values_cli()
|
/third_party/rust/crates/clap/ |
D | CHANGELOG.md | 721 - `Arg::possible_values` with `Arg::value_parser([...])`, `builder::PossibleValuesParser`, or `buil… 1323 - Deriving of `ArgEnum` for generating `Arg::possible_values` (requires `derive` feature flag) 1568 …ame, all bash completions fall back to file completions UNLESS `Arg::possible_values` was used ([8… 1666 * Adds Arg::case_insensitive(bool) which allows matching Arg::possible_values without worrying ab…
|