pager: document the 'pager' config section stable
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Mon, 01 May 2017 16:52:11 +0200
branchstable
changeset 32099 7c76f3923b6a
parent 32098 149440d7e1a7
child 32100 21eb863187ea
pager: document the 'pager' config section There as a 'hg help pager' section but the 'hg help config.pager' was missing.
mercurial/help/config.txt
--- 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``
 ---------