Home
last modified time | relevance | path

Searched refs:get_value_names (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/clap/src/
Dmacros.rs207 debug_assert_eq!($arg.get_value_names(), None, "Flags should precede values");
230 debug_assert_eq!($arg.get_value_names(), None, "Flags should precede values");
254 debug_assert_eq!($arg.get_value_names(), None, "Flags should precede values");
273 debug_assert_eq!($arg.get_value_names(), None, "Flags should precede values");
292 debug_assert_eq!($arg.get_value_names(), None, "Multiple values not yet supported");
319 debug_assert_eq!($arg.get_value_names(), None, "Multiple values not yet supported");
346 debug_assert_eq!($arg.get_value_names(), None, "Multiple values not yet supported");
375 debug_assert_eq!($arg.get_value_names(), None, "Multiple values not yet supported");
/third_party/rust/crates/clap/tests/
Dmacros.rs7 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in name_explicit()
16 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in name_from_long()
25 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in name_from_value()
229 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional()
237 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional()
245 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional()
253 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional()
261 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional()
269 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional()
/third_party/rust/crates/clap/clap_mangen/src/
Drender.rs66 if let Some(value) = arg.get_value_names() { in synopsis()
103 if let Some(value) = &opt.get_value_names() { in options()
165 if let Some(value) = pos.get_value_names() { in options()
/third_party/rust/crates/clap/clap_complete/src/shells/
Dzsh.rs458 let vn = match o.get_value_names() {
/third_party/rust/crates/clap/src/builder/
Ddebug_asserts.rs754 let num_val_names = arg.get_value_names().unwrap_or(&[]).len(); in assert_arg()
Darg.rs3837 pub fn get_value_names(&self) -> Option<&[Str]> { in get_value_names() method