Subject: bin/26223: missing options in the usage of make(1)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 07/10/2004 13:08:00
>Number:         26223
>Category:       bin
>Synopsis:       missing options in the usage of make(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:09: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:
	-N, -W, -X, -J and -T are missing in the usage of make(1).

>How-To-Repeat:
	see usage

>Fix:
Index: make/main.c
===================================================================
RCS file: /cvs/cvsroot/src/usr.bin/make/main.c,v
retrieving revision 1.104
diff -u -r1.104 main.c
--- make/main.c	1 Jul 2004 20:38:09 -0000	1.104
+++ make/main.c	7 Jul 2004 18:51:34 -0000
@@ -1690,9 +1690,9 @@
 usage(void)
 {
 	(void)fprintf(stderr,
-"usage: %s [-Beiknqrst] [-D variable] [-d flags] [-f makefile]\n\
-            [-I directory] [-j max_jobs] [-m directory] [-V variable]\n\
-            [variable=value] [target ...]\n", progname);
+"usage: %s [-BeikNnqrstWX] [-D variable] [-d flags] [-f makefile]\n\
+            [-I directory] [-j max_jobs] [-J private] [-m directory] [-T file]\n\
+            [-V variable] [variable=value] [target ...]\n", progname);
 	exit(2);
 }
 

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