diff options
author | Eric Andersen | 2000-12-13 17:55:11 +0000 |
---|---|---|
committer | Eric Andersen | 2000-12-13 17:55:11 +0000 |
commit | 02ced93ec26f8e27f3721e2ec3cafef52f2eb1ec (patch) | |
tree | 307f9bae252acabfffa7ec8e02a6bbef293ab400 | |
parent | 46948366fa20d2fe979a7af887863a0800e24579 (diff) | |
download | busybox-02ced93ec26f8e27f3721e2ec3cafef52f2eb1ec.zip busybox-02ced93ec26f8e27f3721e2ec3cafef52f2eb1ec.tar.gz |
Add GNU compatibile gzip -d
-rw-r--r-- | archival/gzip.c | 2 | ||||
-rw-r--r-- | gzip.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index 49c429b..ca0c177 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -1808,6 +1808,8 @@ int gzip_main(int argc, char **argv) case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': break; + case 'd': + exit(gunzip_main(argc, argv)); default: usage(gzip_usage); } @@ -1808,6 +1808,8 @@ int gzip_main(int argc, char **argv) case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': break; + case 'd': + exit(gunzip_main(argc, argv)); default: usage(gzip_usage); } |