Subject: bin/26224: usage fixes for mkdep(1)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 07/10/2004 13:16:17
>Number: 26224
>Category: bin
>Synopsis: usage fixes for mkdep(1)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sat Jul 10 04:17:00 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) #20: Fri Jul 9 01:13:02 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
flags are optional for mkdep(1).
>How-To-Repeat:
see usage
>Fix:
* add [] to flags
* suffix_list -> suffixes (sync with manpage)
Index: mkdep/mkdep.c
===================================================================
RCS file: /cvs/cvsroot/src/usr.bin/mkdep/mkdep.c,v
retrieving revision 1.22
diff -u -r1.22 mkdep.c
--- mkdep/mkdep.c 26 Jan 2004 21:47:04 -0000 1.22
+++ mkdep/mkdep.c 9 Jul 2004 18:58:51 -0000
@@ -98,7 +98,7 @@
usage(void)
{
(void)fprintf(stderr,
- "usage: %s [-adopq] [-f file] [-s suffix_list] flags file ...\n",
+ "usage: %s [-adopq] [-f file] [-s suffixes] [flags] file ...\n",
getprogname());
exit(EXIT_FAILURE);
}
>Release-Note:
>Audit-Trail:
>Unformatted: