mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-22 21:48:56 +01:00
Update help text, closes #713
This commit is contained in:
parent
6311ca22f9
commit
20ba984c6d
5
assets/manual/bat.1.in
vendored
5
assets/manual/bat.1.in
vendored
@ -93,8 +93,9 @@ the pager completely, use the '\-\-paging' option. Example: '\-\-pager "less
|
||||
.HP
|
||||
\fB\-m\fR, \fB\-\-map\-syntax\fR <from:to>...
|
||||
.IP
|
||||
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
|
||||
Map a file extension or file name to an existing syntax (specified by a
|
||||
file extension or file name). For example, to
|
||||
highlight *.build files with the Python syntax, use '\-m build:py'. To
|
||||
highlight files named '.myignore' with the Git Ignore syntax, use '\-m
|
||||
\&.myignore:gitignore'.
|
||||
.HP
|
||||
|
@ -246,10 +246,10 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
|
||||
.value_name("from:to")
|
||||
.help("Map a file extension or name to an existing syntax.")
|
||||
.long_help(
|
||||
"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 files named '.myignore' with the Git Ignore syntax, use \
|
||||
'-m .myignore:gitignore'.",
|
||||
"Map a file extension or file name to an existing syntax (specified by a file \
|
||||
extension or file name). For example, to highlight *.build files with the \
|
||||
Python syntax, use '-m build:py'. To highlight files named '.myignore' with \
|
||||
the Git Ignore syntax, use '-m .myignore:gitignore'.",
|
||||
)
|
||||
.takes_value(true),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user