Home
last modified time | relevance | path

Searched refs:min_vals_zero (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/clap/src/app/
Dvalidator.rs397 let min_vals_zero = if let Some(num) = a.min_vals() { in validate_arg_num_vals() localVariable
415 if a.takes_value() && !min_vals_zero && ma.vals.is_empty() { in validate_arg_num_vals()
Dparser.rs1796 let min_vals_zero = opt.v.min_vals.unwrap_or(1) == 0; in parse_opt() localVariable
1818 } else if needs_eq && !(empty_vals || min_vals_zero) { in parse_opt()
1836 if no_val && min_vals_zero && !has_eq && needs_eq { in parse_opt()