summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Hall <kingkeith+github@gmail.com>2022-01-28 22:15:26 +0200
committerDavid Peter <sharkdp@users.noreply.github.com>2022-01-29 18:17:59 +0100
commiteb4b1eb28f2605e48810be495f088bb55e0e5101 (patch)
tree7b2d1c5a757994b13372c2853f7d558d6d220b99
parent9287cf6b0ba98be2611b5a682dffcc1a8583b151 (diff)
README.md: Clarify --map-syntax argument
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index f108a943..2862c058 100644
--- a/README.md
+++ b/README.md
@@ -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