1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-02 03:12:25 +01:00

Update documentation

This commit is contained in:
sharkdp
2020-03-22 10:37:18 +01:00
committed by David Peter
parent 57aed07814
commit 978def2d40
6 changed files with 25 additions and 25 deletions

View File

@@ -100,12 +100,12 @@ Determine which pager is used. This option will overwrite the PAGER and BAT_PAGE
environment variables. The default pager is 'less'. To disable the pager completely, use
the '\-\-paging' option. Example: '\-\-pager "less \fB\-RF\fR"'.
.HP
\fB\-m\fR, \fB\-\-map\-syntax\fR <from:to>...
\fB\-m\fR, \fB\-\-map\-syntax\fR <glob-pattern:syntax-name>...
.IP
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'.
Map a glob pattern to an existing syntax name. The glob pattern is matched on the full
path and the filename. For example, to highlight *.build files with the Python syntax,
use -m '*.build:Python'. To highlight files named '.myignore' with the Git Ignore
syntax, use -m '.myignore:Git Ignore'.
.HP
\fB\-\-theme\fR <theme>
.IP