# HG changeset patch # User Martin Geisler # Date 2009-07-22 22:24:03 # Node ID dfc1d5da98f0575d57788b34103dc8cb50a3d831 # Parent 9f64878a6e8ad42687a8fe2d65e985b55af0bed9 pager: use reST syntax for literal blocks diff --git a/hgext/pager.py b/hgext/pager.py --- a/hgext/pager.py +++ b/hgext/pager.py @@ -14,7 +14,7 @@ '''browse command output with an external pager -To set the pager that should be used, set the application variable: +To set the pager that should be used, set the application variable:: [pager] pager = LESS='FSRX' less @@ -22,18 +22,18 @@ To set the pager that should be used, se If no pager is set, the pager extensions uses the environment variable $PAGER. If neither pager.pager, nor $PAGER is set, no pager is used. -If you notice "BROKEN PIPE" error messages, you can disable them by setting: +If you notice "BROKEN PIPE" error messages, you can disable them by setting:: [pager] quiet = True You can disable the pager for certain commands by adding them to the -pager.ignore list: +pager.ignore list:: [pager] ignore = version, help, update -You can also enable the pager only for certain commands using pager.attend: +You can also enable the pager only for certain commands using pager.attend:: [pager] attend = log