summaryrefslogtreecommitdiff
path: root/dpkg-deb/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'dpkg-deb/main.c')
-rw-r--r--dpkg-deb/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dpkg-deb/main.c b/dpkg-deb/main.c
index 1f2143b4e..52e9ce67d 100644
--- a/dpkg-deb/main.c
+++ b/dpkg-deb/main.c
@@ -105,7 +105,7 @@ usage(const struct cmdinfo *cip, const char *value)
" --nocheck Suppress control file check (build bad\n"
" packages).\n"
" --root-owner-group Forces the owner and groups to root.\n"
-" --uniform-compression Use the compression params on all members.\n"
+" --[no-]uniform-compression Use the compression params on all members.\n"
" -z# Set the compression level when building.\n"
" -Z<type> Set the compression type used when building.\n"
" Allowed types: gzip, xz, none.\n"
@@ -142,7 +142,7 @@ int debugflag = 0;
int nocheckflag = 0;
int opt_verbose = 0;
int opt_root_owner_group = 0;
-int opt_uniform_compression = 0;
+int opt_uniform_compression = 1;
struct deb_version deb_format = DEB_VERSION(2, 0);
@@ -219,6 +219,7 @@ static const struct cmdinfo cmdinfos[]= {
{ "nocheck", 0, 0, &nocheckflag, NULL, NULL, 1 },
{ "root-owner-group", 0, 0, &opt_root_owner_group, NULL, NULL, 1 },
{ "uniform-compression", 0, 0, &opt_uniform_compression, NULL, NULL, 1 },
+ { "no-uniform-compression", 0, 0, &opt_uniform_compression, NULL, NULL, 0 },
{ NULL, 'z', 1, NULL, NULL, set_compress_level },
{ NULL, 'Z', 1, NULL, NULL, set_compress_type },
{ NULL, 'S', 1, NULL, NULL, set_compress_strategy },