aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-13 17:55:11 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-13 17:55:11 +0000
commitdfb49067073bccfdc0bd1db0de15a2c8db5ab531 (patch)
tree307f9bae252acabfffa7ec8e02a6bbef293ab400
parentc9382eb18e6a396745f80509af94c2471ceb7394 (diff)
downloadbusybox-w32-dfb49067073bccfdc0bd1db0de15a2c8db5ab531.tar.gz
busybox-w32-dfb49067073bccfdc0bd1db0de15a2c8db5ab531.tar.bz2
busybox-w32-dfb49067073bccfdc0bd1db0de15a2c8db5ab531.zip
Add GNU compatibile gzip -d
git-svn-id: svn://busybox.net/trunk/busybox@1448 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--archival/gzip.c2
-rw-r--r--gzip.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/archival/gzip.c b/archival/gzip.c
index 49c429b3a..ca0c177d4 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -1808,6 +1808,8 @@ int gzip_main(int argc, char **argv)
1808 case '1': case '2': case '3': case '4': case '5': 1808 case '1': case '2': case '3': case '4': case '5':
1809 case '6': case '7': case '8': case '9': 1809 case '6': case '7': case '8': case '9':
1810 break; 1810 break;
1811 case 'd':
1812 exit(gunzip_main(argc, argv));
1811 default: 1813 default:
1812 usage(gzip_usage); 1814 usage(gzip_usage);
1813 } 1815 }
diff --git a/gzip.c b/gzip.c
index 49c429b3a..ca0c177d4 100644
--- a/gzip.c
+++ b/gzip.c
@@ -1808,6 +1808,8 @@ int gzip_main(int argc, char **argv)
1808 case '1': case '2': case '3': case '4': case '5': 1808 case '1': case '2': case '3': case '4': case '5':
1809 case '6': case '7': case '8': case '9': 1809 case '6': case '7': case '8': case '9':
1810 break; 1810 break;
1811 case 'd':
1812 exit(gunzip_main(argc, argv));
1811 default: 1813 default:
1812 usage(gzip_usage); 1814 usage(gzip_usage);
1813 } 1815 }