Home
last modified time | relevance | path

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

/external/rust/crates/clap/src/app/
Dhelp.rs280 let spec_vals = self.val(arg)?; in write_arg() localVariable
281 self.help(arg, &*spec_vals)?; in write_arg()
369 let spec_vals = self.spec_vals(arg); in val() localVariable
371 let h_w = str_width(h) + str_width(&*spec_vals); in val()
421 Ok(spec_vals) in val()
456 fn help<'b, 'c>(&mut self, arg: &ArgWithDisplay<'b, 'c>, spec_vals: &str) -> io::Result<()> { in help()
463 let mut help = String::from(h) + spec_vals; in help()
475 let too_long = spcs + str_width(h) + str_width(&*spec_vals) >= self.term_w; in help()
514 fn spec_vals(&self, a: &ArgWithDisplay) -> String { in spec_vals() method
516 let mut spec_vals = vec![]; in spec_vals() localVariable
[all …]