Mercurial > hg
changeset 7995:b8e5d9487504
pager: word-wrap help texts at 70 characters
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Sat, 04 Apr 2009 23:18:13 +0200 |
parents | 3c22fdc741d8 |
children | a999dbc915f2 |
files | hgext/pager.py |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/pager.py Sat Apr 04 23:18:03 2009 +0200 +++ b/hgext/pager.py Sat Apr 04 23:18:13 2009 +0200 @@ -19,12 +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 @@ -35,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