mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-21 22:10:45 +01:00
Update help text
This commit is contained in:
parent
a892caeb33
commit
671deeef8c
@ -66,7 +66,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
|
|||||||
.multiple(true)
|
.multiple(true)
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.value_name("from:to")
|
.value_name("from:to")
|
||||||
.help("Map a file extension or name to an existing syntax")
|
.help("Map a file extension or name to an existing syntax.")
|
||||||
.long_help(
|
.long_help(
|
||||||
"Map a file extension or file name to an existing syntax. For example, \
|
"Map a file extension or file name to an existing syntax. For example, \
|
||||||
to highlight *.conf files with the INI syntax, use '-m conf:ini'. \
|
to highlight *.conf files with the INI syntax, use '-m conf:ini'. \
|
||||||
@ -271,7 +271,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
|
|||||||
.conflicts_with("list-languages")
|
.conflicts_with("list-languages")
|
||||||
.conflicts_with("list-themes")
|
.conflicts_with("list-themes")
|
||||||
.hidden(true)
|
.hidden(true)
|
||||||
.help("Show path to the configuration file"),
|
.help("Show path to the configuration file."),
|
||||||
)
|
)
|
||||||
.subcommand(
|
.subcommand(
|
||||||
SubCommand::with_name("cache")
|
SubCommand::with_name("cache")
|
||||||
|
Loading…
Reference in New Issue
Block a user