Mercurial > hg-stable
changeset 9267:bd9e5d200186
pager: wrap docstrings at 70 characters
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 26 Jul 2009 01:56:02 +0200 |
parents | 0efb3360bdb3 |
children | 1746da638d95 |
files | hgext/pager.py |
diffstat | 1 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/pager.py Sun Jul 26 01:55:18 2009 +0200 +++ b/hgext/pager.py Sun Jul 26 01:56:02 2009 +0200 @@ -19,10 +19,11 @@ [pager] pager = LESS='FSRX' less -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 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 @@ -33,15 +34,16 @@ [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 If pager.attend is present, pager.ignore will be ignored. -To ignore global commands like "hg version" or "hg help", you have to specify -them in the global .hgrc +To ignore global commands like "hg version" or "hg help", you have to +specify them in the global .hgrc ''' import sys, os, signal