* archival/gzip.c (ifname, ofname): Delete.

(gzip_main): Handle multiple files.
* include/usage.h (gzip_trivial_usage): Allow multiple FILEs.
  (gzip_full_usage): Ditto.
* testsuite/gzip/gzip-accepts-multiple-files: New.
* testsuite/gzip/gzip-removes-original-file: New.
This commit is contained in:
Matt Kraai 2002-02-05 22:31:48 +00:00
parent 592a3e63ee
commit 9bd49d6a22
4 changed files with 68 additions and 67 deletions

View file

@ -628,9 +628,9 @@
"-rw-rw-r-- 1 andersen andersen 1761280 Apr 14 17:47 /tmp/BusyBox-0.43.tar\n"
#define gzip_trivial_usage \
"[OPTION]... [FILE]"
"[OPTION]... [FILE]..."
#define gzip_full_usage \
"Compress FILE with maximum compression.\n" \
"Compress FILE(s) with maximum compression.\n" \
"When FILE is '-' or unspecified, reads standard input. Implies -c.\n\n" \
"Options:\n" \
"\t-c\tWrite output to standard output instead of FILE.gz\n" \