From 66ae30d7216aedab0b790f1235662c58e23174f8 Mon Sep 17 00:00:00 2001 From: Alexey Gladkov Date: Mon, 1 Apr 2019 22:08:11 +0300 Subject: Add --old-bot option to help --- less/help.c | 2 ++ less/less.hlp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/less/help.c b/less/help.c index 75a91d1..9edb118 100644 --- a/less/help.c +++ b/less/help.c @@ -146,6 +146,8 @@ constant char helpdata[] = { ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','H','i','g','h','l','i','g','h','t',' ','o','n','l','y',' ','l','a','s','t',' ','m','a','t','c','h',' ','f','o','r',' ','s','e','a','r','c','h','e','s','.','\n', ' ',' ','-','G',' ',' ','.','.','.','.','.','.','.','.',' ',' ','-','-','H','I','L','I','T','E','-','S','E','A','R','C','H','\n', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','D','o','n','\'','t',' ','h','i','g','h','l','i','g','h','t',' ','a','n','y',' ','m','a','t','c','h','e','s',' ','f','o','r',' ','s','e','a','r','c','h','e','s','.','\n', +' ',' ','-','-','o','l','d','-','b','o','t','\n', +' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','R','e','v','e','r','t',' ','t','o',' ','t','h','e',' ','o','l','d',' ','b','o','t','t','o','m',' ','o','f',' ','s','c','r','e','e','n',' ','b','e','h','a','v','i','o','r','.','\n', ' ',' ','-','h',' ','[','_','\b','N',']',' ',' ','.','.','.','.',' ',' ','-','-','m','a','x','-','b','a','c','k','-','s','c','r','o','l','l','=','[','_','\b','N',']','\n', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','B','a','c','k','w','a','r','d',' ','s','c','r','o','l','l',' ','l','i','m','i','t','.','\n', ' ',' ','-','i',' ',' ','.','.','.','.','.','.','.','.',' ',' ','-','-','i','g','n','o','r','e','-','c','a','s','e','\n', diff --git a/less/less.hlp b/less/less.hlp index 5972578..ea4792a 100644 --- a/less/less.hlp +++ b/less/less.hlp @@ -143,6 +143,8 @@ Highlight only last match for searches. -G ........ --HILITE-SEARCH Don't highlight any matches for searches. + --old-bot + Revert to the old bottom of screen behavior. -h [_N] .... --max-back-scroll=[_N] Backward scroll limit. -i ........ --ignore-case -- 2.25.4