Subject: bin/328: Errors in units(1) man page
To: None <gnats-admin>
From: Mark Weaver <mhw@cs.brown.edu>
List: netbsd-bugs
Date: 07/06/1994 15:50:08
>Number:         328
>Category:       bin
>Synopsis:       Errors in units(1) man page
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (Utility Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   mhw
>Arrival-Date:   Wed Jul  6 15:50:07 1994
>Originator:     Mark Weaver
>Organization:
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu           | Brown University
PGP Key: finger mhw@cs.brown.edu       | Dept of Computer Science
>Release:        NetBSD-current-04-July-1994
>Environment:
System: NetBSD cis-ts3-slip4.cis.brown.edu 0.9C NetBSD 0.9C (EXCELSIOR) #2: Tue Jul 5 05:32:15 EDT 1994 mhw@cis-ts3-slip4.cis.brown.edu:/usr/src/sys/arch/i386/compile/EXCELSIOR i386


>Description:
	The units(1) man page has the order of the parameters reversed,
	and also fails to document the -v option.  All the correct
	information can be found by running "units -v".
>How-To-Repeat:
	man units
	units -v
	(see how they conflict)
>Fix:
diff -u  src/usr.bin/units/units.1.mhw1 src/usr.bin/units/units.1
--- src/usr.bin/units/units.1.mhw1	Sat Apr  2 06:44:31 1994
+++ src/usr.bin/units/units.1	Wed Jul  6 18:46:50 1994
@@ -4,7 +4,7 @@
 units - conversion program
 .SH SYNTAX
 .B units
-[-f filename] [-q] [to-unit from-unit]
+[-f filename] [-qv] [from-unit to-unit]
 .SH SUMMARY
 .TP 4
 .B -f filename
@@ -14,6 +14,10 @@
 .B -q 
 Suppresses prompting of the user for units and the display of statistics
 about the number of units loaded.
+.LP
+.TP 4
+.B -v 
+Prints the version number.
 .LP
 .TP 4
 .B from-unit to-unit
>Audit-Trail:
>Unformatted:


------------------------------------------------------------------------------