diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2009-04-18 18:21:55 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2009-04-18 18:21:55 +0000 |
commit | 8e8cd7380aa091bf1aa1e02e6773ad61f17eb206 (patch) | |
tree | 981f98e8519e6b1b25352b1c5aaf51a1e850a480 /usr.bin | |
parent | fd3767b9270756410f36d0b550428fb47d691da9 (diff) |
allow -V (show version) in decompression mode; ok millert@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/compress/compress.1 | 6 | ||||
-rw-r--r-- | usr.bin/compress/gzip.1 | 6 | ||||
-rw-r--r-- | usr.bin/compress/main.c | 10 |
3 files changed, 11 insertions, 11 deletions
diff --git a/usr.bin/compress/compress.1 b/usr.bin/compress/compress.1 index b0a8115b3c5..33be7aabb25 100644 --- a/usr.bin/compress/compress.1 +++ b/usr.bin/compress/compress.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: compress.1,v 1.42 2009/02/10 19:24:17 jmc Exp $ +.\" $OpenBSD: compress.1,v 1.43 2009/04/18 18:21:54 naddy Exp $ .\" $NetBSD: compress.1,v 1.5 1995/03/26 09:44:34 glass Exp $ .\" .\" Copyright (c) 1986, 1990, 1993 @@ -34,7 +34,7 @@ .\" .\" @(#)compress.1 8.2 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: February 10 2009 $ +.Dd $Mdocdate: April 18 2009 $ .Dt COMPRESS 1 .Os .Sh NAME @@ -50,7 +50,7 @@ .Op Fl S Ar suffix .Op Ar .Nm uncompress -.Op Fl cfhlNnqrtv +.Op Fl cfhlNnqrtVv .Op Fl o Ar filename .Op Ar .Nm zcat diff --git a/usr.bin/compress/gzip.1 b/usr.bin/compress/gzip.1 index 3635c2c53e9..47e1347f682 100644 --- a/usr.bin/compress/gzip.1 +++ b/usr.bin/compress/gzip.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gzip.1,v 1.5 2007/05/31 19:20:08 jmc Exp $ +.\" $OpenBSD: gzip.1,v 1.6 2009/04/18 18:21:54 naddy Exp $ .\" .\" Copyright (c) 1986, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -33,7 +33,7 @@ .\" .\" @(#)compress.1 8.2 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: April 18 2009 $ .Dt GZIP 1 .Os .Sh NAME @@ -49,7 +49,7 @@ .Op Fl S Ar suffix .Op Ar .Nm gunzip -.Op Fl cfhlNnqrtv +.Op Fl cfhlNnqrtVv .Op Fl o Ar filename .Op Ar .Nm gzcat diff --git a/usr.bin/compress/main.c b/usr.bin/compress/main.c index d480275b1dc..fc52a90935e 100644 --- a/usr.bin/compress/main.c +++ b/usr.bin/compress/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.74 2008/10/08 17:06:30 millert Exp $ */ +/* $OpenBSD: main.c,v 1.75 2009/04/18 18:21:54 naddy Exp $ */ #ifndef SMALL static const char copyright[] = @@ -36,7 +36,7 @@ static const char license[] = #endif /* SMALL */ #ifndef SMALL -static const char main_rcsid[] = "$OpenBSD: main.c,v 1.74 2008/10/08 17:06:30 millert Exp $"; +static const char main_rcsid[] = "$OpenBSD: main.c,v 1.75 2009/04/18 18:21:54 naddy Exp $"; #endif #include <sys/param.h> @@ -141,8 +141,8 @@ main(int argc, char *argv[]) char *nargv[512]; /* some estimate based on ARG_MAX */ int bits, ch, error, i, rc, cflag, oflag; static const char *optstr[3] = { - "123456789ab:cdfghlLnNOo:qrS:tvV", - "cfhlNno:qrtv", + "123456789ab:cdfghLlNnOo:qrS:tVv", + "cfhlNno:qrtVv", "fghqr" }; @@ -909,7 +909,7 @@ usage(int status) __progname, (int)strlen(__progname), ""); break; case MODE_DECOMP: - fprintf(stderr, "usage: %s [-cfhlNnqrtv] [-o filename] " + fprintf(stderr, "usage: %s [-cfhlNnqrtVv] [-o filename] " "[file ...]\n", __progname); break; case MODE_CAT: |