Subject: misc/26197: missing options in the usage of compress(1) and uncompress(1)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 07/08/2004 13:53:39
>Number: 26197
>Category: misc
>Synopsis: missing options in the usage of compress(1) and uncompress(1)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 08 04:54: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) #19: Wed Jul 7 22:20:57 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
-d is missing in the usage of compress(1).
-d, -f and -v are missing in the usage of uncompress(1).
>How-To-Repeat:
see usage
>Fix:
Index: compress/compress.c
===================================================================
RCS file: /cvs/cvsroot/src/usr.bin/compress/compress.c,v
retrieving revision 1.20
diff -u -r1.20 compress.c
--- compress/compress.c 7 Aug 2003 11:13:28 -0000 1.20
+++ compress/compress.c 7 Jul 2004 19:20:49 -0000
@@ -422,10 +422,10 @@
{
if (iscompress)
(void)fprintf(stderr,
- "usage: compress [-cfv] [-b bits] [file ...]\n");
+ "usage: compress [-cdfv] [-b bits] [file ...]\n");
else
(void)fprintf(stderr,
- "usage: uncompress [-c] [-b bits] [file ...]\n");
+ "usage: uncompress [-cdfv] [-b bits] [file ...]\n");
exit(1);
}
>Release-Note:
>Audit-Trail:
>Unformatted: