summaryrefslogtreecommitdiff
path: root/dpkg_deb.c
diff options
context:
space:
mode:
Diffstat (limited to 'dpkg_deb.c')
-rw-r--r--dpkg_deb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dpkg_deb.c b/dpkg_deb.c
index 6653f2a..3bec8cf 100644
--- a/dpkg_deb.c
+++ b/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;