New dpkg-deb function -t, stands for --fsys-tarfile
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 @@
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 @@
case 'e':
optflag |= extract_control;
break;
+ case 't':
+ optflag |= extract_fsys_tarfile;
+ break;
case 'X':
optflag |= extract_verbose_extract;
break;