* 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.
diff --git a/include/usage.h b/include/usage.h
index 2e65c6f..c4ad044 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -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" \