From patchwork Mon May 1 16:12:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [6,of,8,STABLE] pager: document the 'pager' config section From: Pierre-Yves David X-Patchwork-Id: 20340 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Mon, 01 May 2017 18:12:48 +0200 # HG changeset patch # User Pierre-Yves David # Date 1493650331 -7200 # Mon May 01 16:52:11 2017 +0200 # Branch stable # Node ID bdd42fa505b60739fa337e683a0f64b8dc1c4707 # Parent 4f5a7d079ffcf7e9ed261d05f230711842dfd3b2 # EXP-Topic pager # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ # hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r bdd42fa505b6 pager: document the 'pager' config section There as a 'hg help pager' section but the 'hg help config.pager' was missing. diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt --- a/mercurial/help/config.txt +++ b/mercurial/help/config.txt @@ -1361,6 +1361,27 @@ Supported arguments: 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`` ---------