From 1dc730e37c6647c3e87b0ec216304a28ecb26231 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 28 May 2014 11:39:16 +0000 Subject: When invoked as more, make the -i option behave the same as less's -I to match POSIX. OK and man bits from jmc@ --- usr.bin/less/less.1 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'usr.bin/less/less.1') diff --git a/usr.bin/less/less.1 b/usr.bin/less/less.1 index d1488792e2c..87ea82c95fa 100644 --- a/usr.bin/less/less.1 +++ b/usr.bin/less/less.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: less.1,v 1.41 2014/05/13 22:07:03 jmc Exp $ +.\" $OpenBSD: less.1,v 1.42 2014/05/28 11:39:15 millert Exp $ .\" .\" Copyright (C) 1984-2012 Mark Nudelman .\" @@ -23,7 +23,7 @@ .\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: May 13 2014 $ +.Dd $Mdocdate: May 28 2014 $ .Dt LESS 1 .Os .Sh NAME @@ -1609,6 +1609,15 @@ to exit the first time it reaches EOF, not the second. .Pp The +.Fl i +option acts like the +.Fl I +option. +The normal behavior of the +.Fl i +option is unavailable in this mode. +.Pp +The .Fl m option works differently: if it is not specified, the medium prompt is used; -- cgit v1.2.3