Home
last modified time | relevance | path

Searched refs:WrongNumberOfValues (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/clap/src/error/
Dkind.rs153 WrongNumberOfValues, enumerator
326 Self::WrongNumberOfValues => Some("too many or too few values for an argument"), in as_str()
Dformat.rs336 ErrorKind::WrongNumberOfValues => { in write_dynamic_context()
Dmod.rs628 let mut err = Self::new(ErrorKind::WrongNumberOfValues).with_cmd(cmd); in wrong_number_of_values()
/third_party/rust/crates/clap/tests/builder/
Dmultiple_values.rs177 assert_eq!(m.unwrap_err().kind(), ErrorKind::WrongNumberOfValues); in option_exact_less()
195 assert_eq!(m.unwrap_err().kind(), ErrorKind::WrongNumberOfValues); in option_exact_more()
490 assert_eq!(m.unwrap_err().kind(), ErrorKind::WrongNumberOfValues); in positional_exact_less()
500 assert_eq!(m.unwrap_err().kind(), ErrorKind::WrongNumberOfValues); in positional_exact_more()
1571 assert_eq!(m.unwrap_err().kind(), ErrorKind::WrongNumberOfValues); in issue_2229()