Subject: misc/25876: the usage of wsconsctl(8) is outdated
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 06/09/2004 01:29:01
>Number:         25876
>Category:       misc
>Synopsis:       the usage of wsconsctl(8) is outdated
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 08 17:02:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0_BETA NetBSD 2.0_BETA (FIREFLY.MP) #23: Tue Jun 8 02:19:00 JST 2004 hiratuka@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
	`name+=value' is missing in the usage of wsconsctl(8).

# wsconsctl
usage: wsconsctl [-kmd] [-f file] [-n] name ...
 -or-  wsconsctl [-kmd] [-f file] [-n] -w name=value ...
 -or-  wsconsctl [-kmd] [-f file] [-n] -a

>How-To-Repeat:
	wsconsctl

>Fix:
Index: wsconsctl.c
===================================================================
RCS file: /cvs/cvsroot/src/sbin/wsconsctl/wsconsctl.c,v
retrieving revision 1.6
diff -u -r1.6 wsconsctl.c
--- wsconsctl.c	4 May 2003 11:54:59 -0000	1.6
+++ wsconsctl.c	8 Jun 2004 15:58:00 -0000
@@ -71,6 +71,8 @@
 		progname);
 	fprintf(stderr, " -or-  %s [-kmd] [-f file] [-n] -w name=value ...\n",
 		progname);
+	fprintf(stderr, " -or-  %s [-kmd] [-f file] [-n] -w name+=value ...\n",
+		progname);
 	fprintf(stderr, " -or-  %s [-kmd] [-f file] [-n] -a\n", progname);
 
 	exit(1);
>Release-Note:
>Audit-Trail:
>Unformatted: