on master help sign in
Extend help text for --terminal-width and --wrap, closes #535
0a1e08dsharkdp
src/clap_app.rs+4−2
@@ -291,7 +291,9 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
291 .default_value("auto")
291 .default_value("auto")
292 .hide_default_value(true)
292 .hide_default_value(true)
293 .help("Specify the text-wrapping mode (*auto*, never, character).")
293 .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."),
295 )
297 )
296 .arg(
298 .arg(
297 Arg::with_name("tabs")
299 Arg::with_name("tabs")
@@ -345,7 +347,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
345 .help(
347 .help(
346 "Explicitly set the width of the terminal instead of determining it \
348 "Explicitly set the width of the terminal instead of determining it \
347 automatically. If prefixed with '+' or '-', the value will be treated \
349 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'.",
349 ),
351 ),
350 )
352 )
351 .arg(
353 .arg(