Module Name:    src
Committed By:   wiz
Date:           Fri May 20 07:07:37 UTC 2011

Modified Files:
        src/usr.bin/error: error.1

Log Message:
Sort options, merge single letter options in synopsis.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/error/error.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/error/error.1
diff -u src/usr.bin/error/error.1:1.15 src/usr.bin/error/error.1:1.16
--- src/usr.bin/error/error.1:1.15	Thu May 19 22:55:53 2011
+++ src/usr.bin/error/error.1	Fri May 20 07:07:37 2011
@@ -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 @@
 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 @@
 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

Reply via email to