Mercurial > hg-stable
changeset 9069:1abf3fdc5db4
pager: wrapped docstrings at 78 characters
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 07 Jul 2009 23:54:42 +0200 |
parents | 27a41250a9ce |
children | 1933220e0284 |
files | hgext/pager.py |
diffstat | 1 files changed, 6 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/pager.py Tue Jul 07 23:54:42 2009 +0200 +++ b/hgext/pager.py Tue Jul 07 23:54:42 2009 +0200 @@ -19,11 +19,10 @@ [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 @@ -34,16 +33,15 @@ [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