mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
Add GNU compatibile gzip -d
This commit is contained in:
parent
46948366fa
commit
02ced93ec2
2 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
2
gzip.c
2
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue