Shorten short help text

This commit is contained in:
David Peter 2021-11-26 17:54:06 +01:00
parent 47421a49b8
commit 776f8d0f11

View file

@ -621,7 +621,7 @@ pub fn build_app() -> App<'static, 'static> {
.long("strip-cwd-prefix") .long("strip-cwd-prefix")
.conflicts_with_all(&["path", "search-path"]) .conflicts_with_all(&["path", "search-path"])
.hidden_short_help(true) .hidden_short_help(true)
.help("When no search path is provided and output is non-tty, strip './' prefix from results") .help("strip './' prefix from non-tty outputs")
.long_help( .long_help(
"By default, relative paths are prefixed with './' when the output goes to a non \ "By default, relative paths are prefixed with './' when the output goes to a non \
interactive terminal (TTY). Use this flag to disable this behaviour." interactive terminal (TTY). Use this flag to disable this behaviour."