README.md: Clarify --map-syntax argument

This commit is contained in:
Keith Hall authored and David Peter committed 2022-01-29 18:17:59 +01:00
1 parent 9287cf6b0b
commit eb4b1eb28f
1 file changed
+3 -2
+3 -2
View File
@@ -515,8 +515,9 @@ command line option. The option takes an argument of the form `pattern:syntax` w
the absolute file path. The `syntax` part is the full name of a supported language
(use `bat --list-languages` for an overview).
Note: You probably want to use this option as an entry in `bat`s configuration file instead
of passing it on the command line (see below).
Note: You probably want to use this option as [an entry in `bat`s configuration file](#configuration-file)
for persistence, instead of passing it on the command line as a one-off, as generally
you'd just use `-l` unless you are passing multiple filenames as arguments.
Example: To use "INI" syntax highlighting for all files with a `.conf` file extension, use
```bash