diff options
author | Guillem Jover <guillem@debian.org> | 2014-08-20 11:23:11 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-10-06 00:27:21 +0200 |
commit | 03c0873bd720a4f93db0cc4764fa98d3dbcadede (patch) | |
tree | 600239fcba73808aee5f5111369965db166beb0e /dpkg-deb/main.c | |
parent | 81f0fdb71a029abdb4cb9d404c55ba5871cd3cf5 (diff) | |
download | dpkg-03c0873bd720a4f93db0cc4764fa98d3dbcadede.tar.gz |
dpkg-deb: Add new --ctrl-tarfile command
This allows to easily extract the entire control member in tar format,
for further processing.
Diffstat (limited to 'dpkg-deb/main.c')
-rw-r--r-- | dpkg-deb/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dpkg-deb/main.c b/dpkg-deb/main.c index 7c9d8e81d..5a292d67d 100644 --- a/dpkg-deb/main.c +++ b/dpkg-deb/main.c @@ -82,6 +82,7 @@ usage(const struct cmdinfo *cip, const char *value) " -X|--vextract <deb> <directory> Extract & list files.\n" " -R|--raw-extract <deb> <directory>\n" " Extract control info and files.\n" +" --ctrl-tarfile <deb> Output control tarfile.\n" " --fsys-tarfile <deb> Output filesystem tarfile.\n" "\n")); @@ -228,6 +229,7 @@ static const struct cmdinfo cmdinfos[]= { ACTION("extract", 'x', 0, do_extract), ACTION("vextract", 'X', 0, do_vextract), ACTION("raw-extract", 'R', 0, do_raw_extract), + ACTION("ctrl-tarfile", 0, 0, do_ctrltarfile), ACTION("fsys-tarfile", 0, 0, do_fsystarfile), ACTION("show", 'W', 0, do_showinfo), |