summaryrefslogtreecommitdiff
path: root/dpkg-deb
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-08-09 02:19:28 +0200
committerGuillem Jover <guillem@debian.org>2016-10-30 04:43:32 +0100
commitef6187ded62bb3973e4e57779edc87c3e2904af5 (patch)
treeccfed74b481341dac03fb85d6d0cf8624c3bd777 /dpkg-deb
parent15062f983997ead5b67c47aafbbb52ec9113f9b1 (diff)
downloaddpkg-ef6187ded62bb3973e4e57779edc87c3e2904af5.tar.gz
dpkg-deb: Obsolete bzip2 and lzma compression methods
Diffstat (limited to 'dpkg-deb')
-rw-r--r--dpkg-deb/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dpkg-deb/main.c b/dpkg-deb/main.c
index 5898672d9..fcab668f4 100644
--- a/dpkg-deb/main.c
+++ b/dpkg-deb/main.c
@@ -109,7 +109,7 @@ usage(const struct cmdinfo *cip, const char *value)
" --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, bzip2, none.\n"
+" Allowed types: gzip, xz, none.\n"
" -S<strategy> Set the compression strategy when building.\n"
" Allowed values: none; extreme (xz);\n"
" filtered, huffman, rle, fixed (gzip).\n"
@@ -213,9 +213,9 @@ set_compress_type(const struct cmdinfo *cip, const char *value)
if (compress_params.type == COMPRESSOR_TYPE_UNKNOWN)
badusage(_("unknown compression type '%s'!"), value);
if (compress_params.type == COMPRESSOR_TYPE_LZMA)
- warning(_("deprecated compression type '%s'; use xz instead"), value);
+ badusage(_("obsolete compression type '%s'; use xz instead"), value);
if (compress_params.type == COMPRESSOR_TYPE_BZIP2)
- warning(_("deprecated compression type '%s'; use xz or gzip instead"), value);
+ badusage(_("obsolete compression type '%s'; use xz or gzip instead"), value);
}
static const struct cmdinfo cmdinfos[]= {