summaryrefslogtreecommitdiffstats
path: root/usr.bin/gzip/gzip.1
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-05-28 08:20:46 +0000
committerdelphij <delphij@FreeBSD.org>2007-05-28 08:20:46 +0000
commit23ad5197dd8c2ca2418d4e396d98f82c5d1d184c (patch)
tree278a1d9ff639b2f629c00104baebc0566e404add /usr.bin/gzip/gzip.1
parent1e65a8c94586276c8037349ffacbdc579b87ff7f (diff)
downloadFreeBSD-src-23ad5197dd8c2ca2418d4e396d98f82c5d1d184c.zip
FreeBSD-src-23ad5197dd8c2ca2418d4e396d98f82c5d1d184c.tar.gz
Add a '-k' flag which is similar with its bzip2(1) counterpart,
meaning that the user wants the input file to be left intact. Feature request: Ighighi <ighighi gmail.com> PR: bin/103006 MFC after: 1 month
Diffstat (limited to 'usr.bin/gzip/gzip.1')
-rw-r--r--usr.bin/gzip/gzip.17
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/gzip/gzip.1 b/usr.bin/gzip/gzip.1
index 16d715d..8aea189 100644
--- a/usr.bin/gzip/gzip.1
+++ b/usr.bin/gzip/gzip.1
@@ -27,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD$
-.Dd March 16, 2007
+.Dd May 28, 2007
.Dt GZIP 1
.Os
.Sh NAME
@@ -35,7 +35,7 @@
.Nd compression/decompression tool using Lempel-Ziv coding (LZ77)
.Sh SYNOPSIS
.Nm
-.Op Fl cdfhLlNnqrtVv
+.Op Fl cdfhkLlNnqrtVv
.Op Fl S Ar suffix
.Ar file
.Oo
@@ -124,6 +124,9 @@ with the
option, allowing non-compressed data to pass through unchanged.
.It Fl h , -help
This option prints a usage summary and exits.
+.It Fl k , -keep
+Keep (don't delete) input files during compression
+or decompression.
.It Fl L , -license
This option prints
.Nm
OpenPOWER on IntegriCloud