pager: drop -S option for less in example for pager configuration stable
authorThomas Arendsen Hein <thomas@intevation.de>
Tue, 31 Jul 2012 15:50:44 +0200
branchstable
changeset 17305 e66fa4d587dc
parent 17304 0368fc55d572
child 17306 7d2967de2c04
pager: drop -S option for less in example for pager configuration Using less -S will hide possibly important information when reviewing a changeset, e.g. something wrong/dangerous after the 80th column, because "less" will not give an indication that following characters are hidden.
hgext/pager.py
--- a/hgext/pager.py	Tue Jul 31 15:32:08 2012 +0200
+++ b/hgext/pager.py	Tue Jul 31 15:50:44 2012 +0200
@@ -17,7 +17,7 @@
 To set the pager that should be used, set the application variable::
 
   [pager]
-  pager = less -FRSX
+  pager = less -FRX
 
 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.