diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-09-06 15:14:30 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-09-06 15:14:30 +0300 |
commit | 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84 (patch) | |
tree | 571b741cc155767f3c5e0ee0a0a686995568b16a /src/lzma | |
parent | Added support for raw encoding and decoding to the command (diff) | |
download | xz-0a31ed9d5e3cde4feb094b66f3a8b2c074605d84.tar.xz |
Some API cleanups
Diffstat (limited to '')
-rw-r--r-- | src/lzma/process.c | 2 | ||||
-rw-r--r-- | src/lzmadec/lzmadec.c | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/lzma/process.c b/src/lzma/process.c index 084b2c57..b24de698 100644 --- a/src/lzma/process.c +++ b/src/lzma/process.c @@ -172,7 +172,7 @@ single_init(thread_data *t) break; } } else { - const uint32_t flags = LZMA_WARN_UNSUPPORTED_CHECK + const uint32_t flags = LZMA_TELL_UNSUPPORTED_CHECK | LZMA_CONCATENATED; switch (opt_header) { diff --git a/src/lzmadec/lzmadec.c b/src/lzmadec/lzmadec.c index ed5947ad..b69723b4 100644 --- a/src/lzmadec/lzmadec.c +++ b/src/lzmadec/lzmadec.c @@ -97,9 +97,7 @@ help(void) " -M, --memory=NUM use NUM bytes of memory at maximum; the suffixes\n" " k, M, G, Ki, Mi, and Gi are supported.\n" " --format=FMT accept only files in the given file format;\n" -" possible FMTs are `auto', `native', `single',\n" -" `multi', and `alone', of which `single' and `multi'\n" -" are aliases for `native'\n" +" possible FMTs are `auto', `native', and alone',\n" " -h, --help display this help and exit\n" " -V, --version display version and license information and exit\n" "\n" @@ -302,7 +300,7 @@ parse_options(int argc, char **argv) static void init(void) { - const uint32_t flags = LZMA_WARN_UNSUPPORTED_CHECK | LZMA_CONCATENATED; + const uint32_t flags = LZMA_TELL_UNSUPPORTED_CHECK | LZMA_CONCATENATED; lzma_ret ret; switch (format_type) { |