Subject: misc/26198: missing option in the usage of fgen(1)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 07/08/2004 13:57:35
>Number:         26198
>Category:       misc
>Synopsis:       missing option in the usage of fgen(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 08 04:58:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 2.0G
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0G NetBSD 2.0G (FIREFLY.MP) #19: Wed Jul 7 22:20:57 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
	-d is missing in the usage of fgen(1).

>How-To-Repeat:
	fgen

>Fix:
Index: fgen/fgen.l
===================================================================
RCS file: /cvs/cvsroot/src/usr.bin/fgen/fgen.l,v
retrieving revision 1.25
diff -u -r1.25 fgen.l
--- fgen/fgen.l	7 Dec 2003 01:02:36 -0000	1.25
+++ fgen/fgen.l	7 Jul 2004 19:09:42 -0000
@@ -993,7 +993,7 @@
 usage(me)
 	char *me;
 {
-	(void)fprintf(stderr, "%s: [-o <outfile>] <infile>\n", me);
+	(void)fprintf(stderr, "%s: [-d <level>] [-o <outfile>] <infile>\n", me);
 	exit(1);
 }
 

>Release-Note:
>Audit-Trail:
>Unformatted: