Skip to content
Snippets Groups Projects
Commit 4b03ddd5 authored by John Thacker's avatar John Thacker Committed by AndersBroman
Browse files

Write compressed follow up

Check the compression suffix earlier, and produce errors for
compression suffixes (and compression types) we recognize and
can read, but can't write.

Make sure we check for a suffix after a dot (the function
that returns all the extension types doesn't include the dot,
so do it a different way here and in the other functions.)

For now, we don't allow specifying uncompressed with --compress
(to override a compression extension, perhaps), but we could in
the future, by initializing to unknown compression and changing
to uncompressed immediately before checking the type.

Fix name in stderr message.

Allow writing compressed information to standard out for piping.

Handle double suffixes for ring buffer names, putting the changing
part before the previous extension.

We can write LZ4 compressed now, so indicate that. Thanks to the
other commits turning it on just works.

Update the documentation and clarify the current behavior.

Follow up to 6a5de923
parent 9c7d0dad
No related branches found
No related tags found
Loading
Pipeline #1416780613 passed