changeset 32099:7c76f3923b6a stable

pager: document the 'pager' config section There as a 'hg help pager' section but the 'hg help config.pager' was missing.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Mon, 01 May 2017 16:52:11 +0200
parents 149440d7e1a7
children 21eb863187ea
files mercurial/help/config.txt
diffstat 1 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help/config.txt	Mon May 01 16:36:30 2017 +0200
+++ b/mercurial/help/config.txt	Mon May 01 16:52:11 2017 +0200
@@ -1361,6 +1361,27 @@
     the executable name of the tool.
     (default: None)
 
+``pager``
+---------
+
+Setting used to control when to paginate and with what external tool. See
+:hg:`help pager` for details.
+
+``pager``
+    Define the external tool used as pager.
+
+    If no pager is set, Mercurial uses the environment variable $PAGER.
+    If neither pager.pager, nor $PAGER is set, a default pager will be
+    used, typically `less` on Unix and `more` on Windows. Example::
+
+      [pager]
+      pager = less -FRX
+
+``ignore``
+    List of commands to disable the pager for. Example::
+
+      [pager]
+      ignore = version, help, update
 
 ``patch``
 ---------