summaryrefslogtreecommitdiff
path: root/usr.bin/error/error.1
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2011-05-20 07:07:37 +0000
committerwiz <wiz@NetBSD.org>2011-05-20 07:07:37 +0000
commit4a63fe64992331383644eede01a90dace123addd (patch)
tree5f902137e62d812811b796b5289b97b7205d3a7e /usr.bin/error/error.1
parent09fd7b6caadc69880757c56722e0f70b68586e1c (diff)
Sort options, merge single letter options in synopsis.
Diffstat (limited to 'usr.bin/error/error.1')
-rw-r--r--usr.bin/error/error.162
1 files changed, 29 insertions, 33 deletions
diff --git a/usr.bin/error/error.1 b/usr.bin/error/error.1
index 31321ddc20a..6efbee3bdb8 100644
--- a/usr.bin/error/error.1
+++ b/usr.bin/error/error.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: error.1,v 1.15 2011/05/19 22:55:53 christos Exp $
+.\" $NetBSD: error.1,v 1.16 2011/05/20 07:07:37 wiz Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -37,32 +37,32 @@
.Nd analyze and disperse compiler error messages
.Sh SYNOPSIS
.Nm
+.Op Fl nqSsTv
.Op Fl I Ar ignorefile
-.Op Fl n
.Pp Fl p Ar filelevel
-.Op Fl q
-.Op Fl S
-.Op Fl s
-.Op Fl T
.Op Fl t Ar suffixlist
-.Op Fl v
.Op name
.Sh DESCRIPTION
.Nm
analyzes and optionally disperses the diagnostic error messages
produced by a number of compilers and language processors to the source
-file and line where the errors occurred. It can replace the painful,
+file and line where the errors occurred.
+It can replace the painful,
traditional methods of scribbling abbreviations of errors on paper, and
permits error messages and source code to be viewed simultaneously
without machinations of multiple windows in a screen editor.
.Pp
Options are:
-.Bl -tag -width Ds
+.Bl -tag -width XpXfilelevelXX
.It Fl n
Do
.Em not
touch any files; all error messages are sent to the
standard output.
+.It Fl p Ar filelevel
+Interpret filenumber as a level of path component names to skip,
+similar to
+.Xr patch 1 .
.It Fl q
The user is
.Ar queried
@@ -73,19 +73,13 @@ Absence of the
option implies that all referenced files
(except those referring to discarded error messages)
are to be touched.
-.It Fl v
-After all files have been touched,
-overlay the visual editor
-.Xr \&vi 1
-with it set up to edit all files touched,
-and positioned in the first touched file at the first error.
-If
-.Xr \&vi 1
-can't be found, try
-.Xr \&ex 1
-or
-.Xr \&ed 1
-from standard places.
+.It Fl S
+Show the errors in unsorted order (as they come from the error file).
+.It Fl s
+Print out
+.Em statistics
+regarding the error categorization.
+Not too useful.
.It Fl T
Terse output.
.It Fl t
@@ -99,17 +93,19 @@ Thus the suffix list:
allows
.Nm
to touch files ending with ``.c'', ``.y'', ``.foo*'' and ``.h''.
-.It Fl p Ar filelevel
-Interpret filenumber as a level of path component names to skip,
-similar to
-.Xr patch 1 .
-.It Fl S
-Show the errors in unsorted order (as they come from the error file).
-.It Fl s
-Print out
-.Em statistics
-regarding the error categorization.
-Not too useful.
+.It Fl v
+After all files have been touched,
+overlay the visual editor
+.Xr \&vi 1
+with it set up to edit all files touched,
+and positioned in the first touched file at the first error.
+If
+.Xr \&vi 1
+can't be found, try
+.Xr \&ex 1
+or
+.Xr \&ed 1
+from standard places.
.El
.Pp
.Nm