Home
last modified time | relevance | path

Searched refs:term_width (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/clap/tests/builder/
H A Dhelp.rs347 let cmd = Command::new("ctest").version("1.0").term_width(0); in no_wrap_default_help()
368 .term_width(67) in wrapped_help()
414 .term_width(68) in unwrapped_help()
473 .term_width(67) in possible_value_wrapped_help()
549 let cmd = Command::new("ctest").version("0.1").term_width(70).arg( in issue_626_unicode_cutoff()
725 .term_width(52) in issue_626_panic()
743 .term_width(i) in issue_626_variable_panic()
769 let cmd = Command::new("ctest").version("0.1").term_width(24); in final_word_wrapping()
793 .term_width(60) in wrapping_newline_chars()
822 .term_width(6 in wrapping_newline_variables()
[all...]
/third_party/rust/crates/clap/examples/
H A Dtyped-derive.rs6 #[command(term_width = 0)] // Just to make testing across clap features easier
/third_party/rust/crates/clap/src/builder/
H A Dcommand.rs1072 /// .term_width(80)
1078 pub fn term_width(mut self, width: usize) -> Self { in term_width() functions
1085 /// This only applies when [`term_width`][Command::term_width] is unset so that the current
1086 /// terminal's width will be used. See [`Command::term_width`] for more details.

Completed in 9 milliseconds