From a05c8ee1a8151e9fd3c5f49272bf05f423d14d87 Mon Sep 17 00:00:00 2001 From: Keith Hall Date: Fri, 28 Jan 2022 22:58:47 +0200 Subject: [PATCH] README.md: Improve docs around --map-syntax argument based on feedback --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2862c058..a604f9af 100644 --- a/README.md +++ b/README.md @@ -515,9 +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](#configuration-file) +*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. +you'd just use `-l` if you want to manually specify a language for a file. Example: To use "INI" syntax highlighting for all files with a `.conf` file extension, use ```bash