mirror of
https://github.com/sharkdp/bat
synced 2024-11-02 21:40:15 +00:00
Extend help text for --terminal-width and --wrap, closes #535
This commit is contained in:
parent
06b8dcb7eb
commit
0a1e08da96
@ -291,7 +291,9 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
|
|||||||
.default_value("auto")
|
.default_value("auto")
|
||||||
.hide_default_value(true)
|
.hide_default_value(true)
|
||||||
.help("Specify the text-wrapping mode (*auto*, never, character).")
|
.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(
|
||||||
Arg::with_name("tabs")
|
Arg::with_name("tabs")
|
||||||
@ -345,7 +347,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
|
|||||||
.help(
|
.help(
|
||||||
"Explicitly set the width of the terminal instead of determining it \
|
"Explicitly set the width of the terminal instead of determining it \
|
||||||
automatically. If prefixed with '+' or '-', the value will be treated \
|
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(
|
.arg(
|
||||||
|
Loading…
Reference in New Issue
Block a user