Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/error Sort options, merge single letter options in s...
details: https://anonhg.NetBSD.org/src/rev/bd7357b2cc42
branches: trunk
changeset: 765137:bd7357b2cc42
user: wiz <wiz%NetBSD.org@localhost>
date: Fri May 20 07:07:37 2011 +0000
description:
Sort options, merge single letter options in synopsis.
diffstat:
usr.bin/error/error.1 | 62 +++++++++++++++++++++++---------------------------
1 files changed, 29 insertions(+), 33 deletions(-)
diffs (108 lines):
diff -r 96f30f2ee4a5 -r bd7357b2cc42 usr.bin/error/error.1
--- a/usr.bin/error/error.1 Fri May 20 06:26:58 2011 +0000
+++ b/usr.bin/error/error.1 Fri May 20 07:07:37 2011 +0000
@@ -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,6 +73,26 @@
option implies that all referenced files
(except those referring to discarded error messages)
are to be touched.
+.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
+Take the following argument as a suffix list.
+Files whose suffixes do not appear in the suffix list are not touched.
+The suffix list is dot separated, and ``*'' wildcards work.
+Thus the suffix list:
+.Pp
+.Dl ".c.y.foo*.h"
+.Pp
+allows
+.Nm
+to touch files ending with ``.c'', ``.y'', ``.foo*'' and ``.h''.
.It Fl v
After all files have been touched,
overlay the visual editor
@@ -86,30 +106,6 @@
or
.Xr \&ed 1
from standard places.
-.It Fl T
-Terse output.
-.It Fl t
-Take the following argument as a suffix list.
-Files whose suffixes do not appear in the suffix list are not touched.
-The suffix list is dot separated, and ``*'' wildcards work.
-Thus the suffix list:
-.Pp
-.Dl ".c.y.foo*.h"
-.Pp
-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.
.El
.Pp
.Nm
Home |
Main Index |
Thread Index |
Old Index