Subject: bin/26388: missing option in the manpage of xstr(1)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 07/21/2004 12:01:59
>Number: 26388
>Category: bin
>Synopsis: missing option in the manpage of xstr(1)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 21 03:23: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) #28: Wed Jul 21 08:53:20 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
-v is missing in the manpage of xstr(1).
>How-To-Repeat:
man xstr
>Fix:
* add -v to manpage
* sort usage options
Index: xstr/xstr.1
===================================================================
RCS file: /cvs/cvsroot/src/usr.bin/xstr/xstr.1,v
retrieving revision 1.15
diff -u -r1.15 xstr.1
--- xstr/xstr.1 7 Jun 2004 03:37:52 -0000 1.15
+++ xstr/xstr.1 21 Jul 2004 02:28:47 -0000
@@ -37,7 +37,7 @@
.Nd "extract strings from C programs to implement shared strings"
.Sh SYNOPSIS
.Nm xstr
-.Op Fl c
+.Op Fl cv
.Op Fl l Ar array
.Op Fl
.Op Ar file
@@ -79,6 +79,8 @@
Specify the named array in program references to abstracted
strings.
The default array name is xstr.
+.It Fl v
+Be verbose.
.El
.Pp
After all components of a large program have been compiled a file
Index: xstr/xstr.c
===================================================================
RCS file: /cvs/cvsroot/src/usr.bin/xstr/xstr.c,v
retrieving revision 1.19
diff -u -r1.19 xstr.c
--- xstr/xstr.c 6 Jun 2004 07:09:55 -0000 1.19
+++ xstr/xstr.c 21 Jul 2004 02:27:30 -0000
@@ -561,7 +561,7 @@
usage(void)
{
- (void)fprintf(stderr, "usage: %s [-vc] [-l array] [-] [<name> ...]\n",
+ (void)fprintf(stderr, "usage: %s [-cv] [-l array] [-] [<name> ...]\n",
getprogname());
exit(1);
}
>Release-Note:
>Audit-Trail:
>Unformatted: