Home
last modified time | relevance | path

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

/external/rust/crates/structopt/
DCargo.toml.orig18 wrap_help = ["clap/wrap_help"]
DCargo.toml55 wrap_help = ["clap/wrap_help"]
/external/rust/crates/clap/src/app/
Dhelp.rs447 help = wrap_help(&help.replace("{n}", "\n"), self.term_w); in write_before_after_help()
490 help = wrap_help(&help.replace("{n}", "\n"), avail_chars); in help()
702 color!(self, wrap_help(&name, self.term_w), good)?; in write_bin_name()
730 write!(self.writer, "{}\n", wrap_help(&owned_thing, self.term_w))? in write_default_help()
1017 fn wrap_help(help: &str, avail_chars: usize) -> String { in wrap_help() function
1027 use super::wrap_help;
1032 assert_eq!(wrap_help(&help, 5), "foo\nbar\nbaz"); in wrap_help_last_word()
/external/rust/crates/clap/
DCargo.toml113 wrap_help = ["terminal_size", "textwrap/terminal_size"]
DCHANGELOG.md142 * Updates readme to hint that the `wrap_help` feature is a thing ([fc7ab227](https://github.com/kbk…
285 * Adds `term_size` as an optional dependency (with feature `wrap_help`) to fix compile bug
662 * allow final word to be wrapped in wrap_help ([564c5f0f](https://github.com/kbknapp/clap-rs/comm…
684 * allow final word to be wrapped in wrap_help ([564c5f0f](https://github.com/kbknapp/clap-rs/comm…
DREADME.md392 * **"wrap_help"**: Turns on the help text wrapping feature, based on the terminal size. (builds dep…