on master help sign in
Extend help text for --terminal-width and --wrap, closes #535
commit0a1e08da9679cdccadf111273c05defdb136875c authorsharkdp <davidpeter@web.de> dateTue 14 May 2019, 23:24 (7 years ago) parent06b8dcb
1 file changed+4−2
src/clap_app.rs+4−2
src/clap_app.rs+4−2
@@ -291,7 +291,9 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
291291 .default_value("auto")
292292 .hide_default_value(true)
293293 .help("Specify the text-wrapping mode (*auto*, never, character).")
294− .long_help("Specify the text-wrapping mode (*auto*, never, character)."),
294+ .long_help("Specify the text-wrapping mode (*auto*, never, character). \
295+ The '--terminal-width' option can be used in addition to \
296+ control the output width."),
295297 )
296298 .arg(
297299 Arg::with_name("tabs")
@@ -345,7 +347,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
345347 .help(
346348 "Explicitly set the width of the terminal instead of determining it \
347349 automatically. If prefixed with '+' or '-', the value will be treated \
348− as an offset to the actual terminal width.",
350+ as an offset to the actual terminal width. See also: '--wrap'.",
349351 ),
350352 )
351353 .arg(