Subject: misc/25917: unnecessary option in the usage of rtsold(8)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 06/13/2004 19:05:55
>Number:         25917
>Category:       misc
>Synopsis:       unnecessary option in the usage of rtsold(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 13 10:06: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:
	-a option is unnecessary in the first line of the usage of rtsold(8).
	It can't use with `interface'.

# rtsold
usage: rtsold [-adDfm1] interfaces...
usage: rtsold [-dDfm1] -a

>How-To-Repeat:
	rtsold

>Fix:
Index: rtsold.c
===================================================================
RCS file: /cvs/cvsroot/src/usr.sbin/rtsold/rtsold.c,v
retrieving revision 1.28
diff -u -r1.28 rtsold.c
--- rtsold.c	8 Jan 2004 02:48:43 -0000	1.28
+++ rtsold.c	6 Jun 2004 05:20:06 -0000
@@ -674,7 +674,7 @@
 		fprintf(stderr, "usage: rtsol [-dD] interfaces...\n");
 		fprintf(stderr, "usage: rtsol [-dD] -a\n");
 	} else {
-		fprintf(stderr, "usage: rtsold [-adDfm1] interfaces...\n");
+		fprintf(stderr, "usage: rtsold [-dDfm1] interfaces...\n");
 		fprintf(stderr, "usage: rtsold [-dDfm1] -a\n");
 	}
 	exit(1);

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