From b22a9f8fe3730a3bfd3e488decd8687076552c27 Mon Sep 17 00:00:00 2001 From: David Peter Date: Sat, 20 Oct 2018 14:56:25 +0200 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7af1df45..eb8108a5 100644 --- a/README.md +++ b/README.md @@ -299,7 +299,8 @@ If you want to pass command-line arguments to the pager, you can also set them v export BAT_PAGER="less -RF" ``` -**Note**: By default, if the pager is set to `less`, `bat` will pass the following command line +**Note**: By default, if the pager is set to `less` (any no command-line options are specified), +`bat` will pass the following command line options to the pager: `-R`/`--RAW-CONTROL-CHARS`, `-F`/`--quit-if-one-screen` and `-X`/`--no-init`. The first (`-R`) is needed to interpret ANSI colors correctly. The second option (`-F`) instructs less to exit immediately if the output size is smaller than the vertical size of the terminal.