diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2011-03-18 18:19:19 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2011-03-18 18:19:19 +0200 |
commit | 57597d42ca1740ad506437be168d800a50f1a0ad (patch) | |
tree | 9a545dc10dd74be9923cfdbcf425b2628f8cbd3d /src/xz/message.c | |
parent | xz: Clean up suffix.c. (diff) | |
download | xz-57597d42ca1740ad506437be168d800a50f1a0ad.tar.xz |
xz: Add --single-stream.
This can be useful when there is garbage after the
compressed stream (.xz, .lzma, or raw stream).
Man page wasn't updated yet.
Diffstat (limited to 'src/xz/message.c')
-rw-r--r-- | src/xz/message.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xz/message.c b/src/xz/message.c index 38cce4a1..2a928107 100644 --- a/src/xz/message.c +++ b/src/xz/message.c @@ -1108,7 +1108,10 @@ message_help(bool long_help) " -f, --force force overwrite of output file and (de)compress links\n" " -c, --stdout write to standard output and don't delete input files")); - if (long_help) + if (long_help) { + puts(_( +" --single-stream decompress only the first stream, and silently\n" +" ignore possible remaining input data")); puts(_( " --no-sparse do not create sparse files when decompressing\n" " -S, --suffix=.SUF use the suffix `.SUF' on compressed files\n" @@ -1116,6 +1119,7 @@ message_help(bool long_help) " omitted, filenames are read from the standard input;\n" " filenames must be terminated with the newline character\n" " --files0[=FILE] like --files but use the null character as terminator")); + } if (long_help) { puts(_("\n Basic file format and compression options:\n")); |