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 db5f6ee55..ed4a3de36 100644
--- a/gunzip.c
+++ b/gunzip.c
@@ -87,7 +87,7 @@ extern int gunzip_main(int argc, char **argv)
87 if (strcmp(applet_name, "zcat") == 0) 87 if (strcmp(applet_name, "zcat") == 0)
88 flags |= gunzip_to_stdout; 88 flags |= gunzip_to_stdout;
89 89
90 while ((opt = getopt(argc, argv, "ctfhd")) != -1) { 90 while ((opt = getopt(argc, argv, "ctfhdq")) != -1) {
91 switch (opt) { 91 switch (opt) {
92 case 'c': 92 case 'c':
93 flags |= gunzip_to_stdout; 93 flags |= gunzip_to_stdout;
@@ -100,6 +100,8 @@ extern int gunzip_main(int argc, char **argv)
100 break; 100 break;
101 case 'd': /* Used to convert gzip to gunzip. */ 101 case 'd': /* Used to convert gzip to gunzip. */
102 break; 102 break;
103 case 'q':
104 error_msg("-q option not supported, ignored");
103 case 'h': 105 case 'h':
104 default: 106 default:
105 show_usage(); /* exit's inside usage */ 107 show_usage(); /* exit's inside usage */