commit:     ff3c131aeee6f053a6f9a706c1f1be279696c957
Author:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 10 16:23:52 2015 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Mar 10 17:51:50 2015 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=ff3c131a

dispatch-conf.conf: less-opts --quit-if-one-screen for bug 501886

Use --quit-if-one-screen instead of --QUIT-AT-EOF, so that less doesn't
quit automatically when the user has scrolled to the bottom.

X-Gentoo-Bug: 501886
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=501886
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
Acked-by: Brian Dolbec <dolsen <AT> gentoo.org>

 cnf/dispatch-conf.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cnf/dispatch-conf.conf b/cnf/dispatch-conf.conf
index 125b7cc..7efce8a 100644
--- a/cnf/dispatch-conf.conf
+++ b/cnf/dispatch-conf.conf
@@ -31,7 +31,7 @@ diff="diff -Nu '%s' '%s'"
 pager=""
 
 # Default options used if less is the pager
-less-opts="--no-init --QUIT-AT-EOF"
+less-opts="--no-init --quit-if-one-screen"
 
 # Diff for interactive merges.
 # %s output file

Reply via email to