Subject: bin/17916: Incorrect lptest(1) man page synopsis
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ginsbach@cray.com>
List: netbsd-bugs
Date: 08/12/2002 12:34:36
>Number:         17916
>Category:       bin
>Synopsis:       incorrect lptest(1) man page synopsis
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 12 10:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Brian Ginsbach
>Release:        NetBSD 1.5.2, 1.5.3, current
>Organization:
Cray Inc.
>Environment:
System: NetBSD nbtest.cray.com 1.5.2 NetBSD 1.5.2 (BUKHARIN) #1: Wed Feb 20 03:38:32 CST 2002 ginsbach@nbtest.cray.com:/usr/src/sys/arch/i386/compile/NBTEST i386


>Description:
	The synopsis on the lptest(1) man page is incorrect.  Currently
	it reads:

SYNOPSIS
     lptest [length] [count]

	It should read:

SYNOPSIS
     lptest [length [count]]

	The way it is currently implies that either argument is
	optional.  Actually, it is only possible to specify a count
	when length is first specified.

>How-To-Repeat:
	man lptest

>Fix:
Index: lptest.1
===================================================================
RCS file: /cvsroot/basesrc/usr.sbin/lpr/lptest/lptest.1,v
retrieving revision 1.8
diff -u -r1.8 lptest.1
--- lptest.1	2000/11/07 06:43:37	1.8
+++ lptest.1	2002/08/12 17:25:28
@@ -41,8 +41,10 @@
 .Nd generate lineprinter ripple pattern
 .Sh SYNOPSIS
 .Nm ""
-.Op Ar length
+.Oo
+.Ar length 
 .Op Ar count
+.Oc
 .Sh DESCRIPTION
 .Nm
 writes the traditional "ripple test" pattern on standard output.
>Release-Note:
>Audit-Trail:
>Unformatted: