summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRodrigo Campos <rodrigo@sdfg.com.ar>2013-03-31 22:53:31 -0300
committerJim Meyering <meyering@fb.com>2013-05-28 06:25:39 -0700
commit0192f02e26ac9fa0a27ed177263ee3ea73d5e95c (patch)
tree6866492c4b1b9b27e56bd61437a6f392de502605 /doc
parent182e0b18713f759690432bec1f0cdd6720ee54b1 (diff)
downloadgzip-0192f02e26ac9fa0a27ed177263ee3ea73d5e95c.tar.gz
gzip: add "--keep" option to retain (don't delete) input files
gzip now accepts the --keep (-k) option, for consistency with tools like xz, lzip and bzip2. With this option, gzip no longer removes named input files when compressing and decompressing. * doc/gzip.texi: Document it. * gzip.1: Likewise. * gunzip.in: Likewise. * NEWS: Likewise. * gzip.c: Add support for "--keep".
Diffstat (limited to 'doc')
-rw-r--r--doc/gzip.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/gzip.texi b/doc/gzip.texi
index f7e45e1..3de3063 100644
--- a/doc/gzip.texi
+++ b/doc/gzip.texi
@@ -195,6 +195,7 @@ Mandatory arguments to long options are mandatory for short options too.
-d, --decompress decompress
-f, --force force overwrite of output file and compress links
-h, --help give this help
+ -k, --keep keep (don't delete) input files
-l, --list list compressed file contents
-L, --license display software license
-n, --no-name do not save or restore the original name and time stamp
@@ -276,6 +277,10 @@ whether an existing file should be overwritten.
@itemx -h
Print an informative help message describing the options then quit.
+@item --keep
+@itemx -k
+Keep (don't delete) input files during compression or decompression.
+
@item --list
@itemx -l
For each compressed file, list the following fields: