summaryrefslogtreecommitdiff
path: root/usr.bin/less/less.1
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2014-05-28 11:39:16 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2014-05-28 11:39:16 +0000
commit1dc730e37c6647c3e87b0ec216304a28ecb26231 (patch)
tree8748f52451e8be3698e2ca73dfe836bb24d70f1c /usr.bin/less/less.1
parent731c0ec0ed91f0b2eddc8427271f66a7a3acd676 (diff)
When invoked as more, make the -i option behave the same as less's
-I to match POSIX. OK and man bits from jmc@
Diffstat (limited to 'usr.bin/less/less.1')
-rw-r--r--usr.bin/less/less.113
1 files changed, 11 insertions, 2 deletions
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;