From 0a1e08da9679cdccadf111273c05defdb136875c Mon Sep 17 00:00:00 2001 From: sharkdp Date: Tue, 14 May 2019 23:24:13 +0200 Subject: [PATCH] Extend help text for --terminal-width and --wrap, closes #535 --- src/clap_app.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/clap_app.rs b/src/clap_app.rs index 16c36d25..1e81618e 100644 --- a/src/clap_app.rs +++ b/src/clap_app.rs @@ -291,7 +291,9 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> { .default_value("auto") .hide_default_value(true) .help("Specify the text-wrapping mode (*auto*, never, character).") - .long_help("Specify the text-wrapping mode (*auto*, never, character)."), + .long_help("Specify the text-wrapping mode (*auto*, never, character). \ + The '--terminal-width' option can be used in addition to \ + control the output width."), ) .arg( Arg::with_name("tabs") @@ -345,7 +347,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> { .help( "Explicitly set the width of the terminal instead of determining it \ automatically. If prefixed with '+' or '-', the value will be treated \ - as an offset to the actual terminal width.", + as an offset to the actual terminal width. See also: '--wrap'.", ), ) .arg(