summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorGlenn L McGrath2001-04-12 13:49:09 +0000
committerGlenn L McGrath2001-04-12 13:49:09 +0000
commit3e2ab88ee2e488df1b674655f0038729a635aa52 (patch)
tree40aecd08a39f0f1ad7074f2a1003ace79bb4c641 /archival
parentc9cac5be236475e91af1865a2dae2c2af5f19fd6 (diff)
downloadbusybox-3e2ab88ee2e488df1b674655f0038729a635aa52.zip
busybox-3e2ab88ee2e488df1b674655f0038729a635aa52.tar.gz
New dpkg-deb function -t, stands for --fsys-tarfile
Diffstat (limited to 'archival')
-rw-r--r--archival/dpkg_deb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c
index 6653f2a..3bec8cf 100644
--- a/archival/dpkg_deb.c
+++ b/archival/dpkg_deb.c
@@ -24,7 +24,7 @@ extern int dpkg_deb_main(int argc, char **argv)
int opt = 0;
int optflag = 0;
- while ((opt = getopt(argc, argv, "cexXl")) != -1) {
+ while ((opt = getopt(argc, argv, "cetXxl")) != -1) {
switch (opt) {
case 'c':
optflag |= extract_contents;
@@ -32,6 +32,9 @@ extern int dpkg_deb_main(int argc, char **argv)
case 'e':
optflag |= extract_control;
break;
+ case 't':
+ optflag |= extract_fsys_tarfile;
+ break;
case 'X':
optflag |= extract_verbose_extract;
break;