aboutsummaryrefslogtreecommitdiff
path: root/gunzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'gunzip.c')
-rw-r--r--gunzip.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gunzip.c b/gunzip.c
index e6f6bdfc1..b4edb25ac 100644
--- a/gunzip.c
+++ b/gunzip.c
@@ -91,7 +91,7 @@ extern int gunzip_main(int argc, char **argv)
91 if (strcmp(applet_name, "zcat") == 0) 91 if (strcmp(applet_name, "zcat") == 0)
92 flags |= gunzip_to_stdout; 92 flags |= gunzip_to_stdout;
93 93
94 while ((opt = getopt(argc, argv, "ctfh")) != -1) { 94 while ((opt = getopt(argc, argv, "ctfhd")) != -1) {
95 switch (opt) { 95 switch (opt) {
96 case 'c': 96 case 'c':
97 flags |= gunzip_to_stdout; 97 flags |= gunzip_to_stdout;
@@ -102,6 +102,8 @@ extern int gunzip_main(int argc, char **argv)
102 case 't': 102 case 't':
103 flags |= gunzip_test; 103 flags |= gunzip_test;
104 break; 104 break;
105 case 'd': /* Used to convert gzip to gunzip. */
106 break;
105 case 'h': 107 case 'h':
106 default: 108 default:
107 show_usage(); /* exit's inside usage */ 109 show_usage(); /* exit's inside usage */