summaryrefslogtreecommitdiff
path: root/usr.bin/less
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-04-09 20:17:39 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-04-09 20:17:39 +0000
commit43fe128a421bdcb0078bcfd3b9ab8d22fac09956 (patch)
treed5e30e44e15affd86eb2b37c2000147d70ac8b97 /usr.bin/less
parent9287dde1b1e574d25907a0e87723b30f807c8d09 (diff)
- fix up SYNOPSIS; it's not perfect yet though...
- couple of other tweaks while in here
Diffstat (limited to 'usr.bin/less')
-rw-r--r--usr.bin/less/less.121
1 files changed, 10 insertions, 11 deletions
diff --git a/usr.bin/less/less.1 b/usr.bin/less/less.1
index d1e427d2f95..e5d7aab0050 100644
--- a/usr.bin/less/less.1
+++ b/usr.bin/less/less.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: less.1,v 1.17 2009/10/22 12:35:53 sobrado Exp $
+.\" $OpenBSD: less.1,v 1.18 2010/04/09 20:17:38 jmc Exp $
.\"
.\" Copyright (C) 2002 Mark Nudelman
.\"
@@ -23,22 +23,22 @@
.\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 22 2009 $
+.Dd $Mdocdate: April 9 2010 $
.Dt LESS 1
.Os
.Sh NAME
.Nm less , more
.Nd view files
.Sh SYNOPSIS
-.Nm less No | Nm more
+.Nm less \*(Ba more
.Fl \&?
-.Nm less No | Nm more
+.Nm less \*(Ba more
.Fl -help
-.Nm less No | Nm more
+.Nm less \*(Ba more
.Fl V
-.Nm less No | Nm more
+.Nm less \*(Ba more
.Fl -version
-.Nm less No | Nm more
+.Nm less \*(Ba more
.Bk -words
.Op Fl Oo Cm + Oc Ns Cm aBCcdEeFfGgIiJLMmNnQqRrSsUuVWwX~
.Op Fl b Ar space
@@ -52,16 +52,15 @@
.Op Fl t Ar tag
.Op Fl x Ar tab,...
.Op Fl y Ar lines
-.Op Fl Oo Cm z Oc Ar \ \&lines
+.Op Fl Oo Cm z Oc Ar lines
.Op Fl # Ar shift
-.Xo Oo Cm \+ Ns Oo Ns Cm \+ Ns
+.Xo Oo Cm \&+ Ns Oo Ns Cm \&+ Ns
.Oc Ar cmd
.Oc
.Xc
.Op Fl -
.Op Ar filename ...
.Ek
-.Pp
.\" (See the
.\" .Sx OPTIONS
.\" section for alternate option syntax with long option names.)
@@ -784,7 +783,7 @@ Like -r, but tries to keep track of the screen appearance where possible.
This works only if the input consists of normal text and possibly some
ANSI "color" escape sequences, which are sequences of the form:
.Pp
- ESC [ ... m
+.Dl ESC \&[ ... m
.Pp
where the "..." is zero or more characters other than "m".
For the purpose of keeping track of screen appearance,