Subject: misc/25861: missing option in the usage of chio(1)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 06/08/2004 02:42:05
>Number:         25861
>Category:       misc
>Synopsis:       missing option in the usage of chio(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 07 18:10: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) #22: Tue Jun 8 01:10:58 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
	-f is missing in the usage of chio(1).
	
% chio
usage: chio command arg1 arg2 ...
Where command (and args) are:
        move <from ET> <from EU> <to ET> <to EU> [inv]
        exchange <src ET> <src EU> <dst1 ET> <dst1 EU>
                 [<dst2 ET> <dst2 EU>] [inv1] [inv2]
        position <to ET> <to EU> [inv]
        params
        getpicker
        setpicker <picker>
        status [<ET> [unit [count]]] [voltags]
        ielem
        cdlu load|unload <slot>
             abort

>How-To-Repeat:
	chio

>Fix:
	Sync with manpage.

Index: chio.c
===================================================================
RCS file: /cvs/cvsroot/src/bin/chio/chio.c,v
retrieving revision 1.24
diff -u -r1.24 chio.c
--- chio.c	5 Jan 2004 23:23:32 -0000	1.24
+++ chio.c	7 Jun 2004 11:34:18 -0000
@@ -850,7 +850,8 @@
 {
 	int i;
 
-	(void)fprintf(stderr, "usage: %s command arg1 arg2 ...\n",
+	(void)fprintf(stderr,
+	    "usage: %s [-f changer] command arg1 arg2 [arg3 [...]]\n",
 	    getprogname());
 
 	(void)fprintf(stderr, "Where command (and args) are:\n");

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