Home
last modified time | relevance | path

Searched refs:default_vals (Results 1 – 5 of 5) sorted by relevance

/third_party/rust/crates/clap/tests/builder/
Dmain.rs16 mod default_vals; module
/third_party/rust/crates/clap/src/builder/
Darg.rs77 pub(crate) default_vals: Vec<OsStr>, field
1650 self.default_vals.clear(); in default_value()
1674 self.default_vals = vals.into_iter().map(|s| s.into()).collect(); in default_values()
3916 &self.default_vals in get_default_values()
4084 if self.default_vals.is_empty() { in _build()
4085 self.default_vals = vec![default_value.into()]; in _build()
4302 .field("default_vals", &self.default_vals) in fmt()
Ddebug_asserts.rs799 assert_defaults(arg, "default_value", arg.default_vals.iter()); in assert_arg()
/third_party/rust/crates/clap/src/output/
Dhelp_template.rs734 if a.is_takes_value_set() && !a.is_hide_default_value_set() && !a.default_vals.is_empty() { in spec_vals()
737 a.default_vals in spec_vals()
741 .default_vals in spec_vals()
/third_party/rust/crates/clap/src/parser/
Dparser.rs1459 if !arg.default_vals.is_empty() { in add_default_value()
1473 .default_vals in add_default_value()