Subject: misc/25864: misplaced option in the usage of ping6(8)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 06/08/2004 03:15:45
>Number: 25864
>Category: misc
>Synopsis: misplaced option in the usage of ping6(8)
>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:17: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:
-g is misplacing in the usage of ping(6).
% ping6
usage: ping6 [-dfHnNqtvwW] [-P policy] [-a [aAclsg]] [-b sockbufsiz] [-c count]
[-I interface] [-i wait] [-l preload] [-p pattern] [-S sourceaddr]
[-s packetsize] [-h hoplimit] [hops...] [-g gateway] host
>How-To-Repeat:
ping6
>Fix:
Index: ping6.c
===================================================================
RCS file: /cvs/cvsroot/src/sbin/ping6/ping6.c,v
retrieving revision 1.57
diff -u -r1.57 ping6.c
--- ping6.c 7 Aug 2003 10:04:36 -0000 1.57
+++ ping6.c 6 Jun 2004 02:45:46 -0000
@@ -2698,6 +2698,6 @@
"] [-a [aAclsg]] [-b sockbufsiz] [-c count] \n"
"\t[-I interface] [-i wait] [-l preload] [-p pattern] "
"[-S sourceaddr]\n"
- "\t[-s packetsize] [-h hoplimit] [hops...] [-g gateway] host\n");
+ "\t[-s packetsize] [-g gateway] [-h hoplimit] [hops...] host\n");
exit(1);
}
>Release-Note:
>Audit-Trail:
>Unformatted: