diff options
author | Glenn L McGrath | 2001-04-12 13:49:09 +0000 |
---|---|---|
committer | Glenn L McGrath | 2001-04-12 13:49:09 +0000 |
commit | 3e2ab88ee2e488df1b674655f0038729a635aa52 (patch) | |
tree | 40aecd08a39f0f1ad7074f2a1003ace79bb4c641 /archival/dpkg_deb.c | |
parent | c9cac5be236475e91af1865a2dae2c2af5f19fd6 (diff) | |
download | busybox-3e2ab88ee2e488df1b674655f0038729a635aa52.zip busybox-3e2ab88ee2e488df1b674655f0038729a635aa52.tar.gz |
New dpkg-deb function -t, stands for --fsys-tarfile
Diffstat (limited to 'archival/dpkg_deb.c')
-rw-r--r-- | archival/dpkg_deb.c | 5 |
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; |