Mercurial > hg-stable
changeset 9212:dfc1d5da98f0
pager: use reST syntax for literal blocks
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Thu, 23 Jul 2009 00:24:03 +0200 |
parents | 9f64878a6e8a |
children | ee0af2f28794 |
files | hgext/pager.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/pager.py Thu Jul 23 00:23:53 2009 +0200 +++ b/hgext/pager.py Thu Jul 23 00:24:03 2009 +0200 @@ -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 @@ 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