mirror of
https://github.com/google/brotli.git
synced 2026-09-22 14:45:51 +00:00
brotli --test --verbose should show a message
#264
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stokito on GitHub (Oct 29, 2018).
When running a integrity test brotli shows nothing and t his is correct according to unix philosophy.
But when I asked the brotli to be verbose it still didn't show anything:
What do I expect is the same behavior as for
gzip,xzand many other compressors:As you can see in verbose mode test shows a file name and status OK.
Could you make brotli to work similar with other compressors?
@eustas commented on GitHub (Oct 29, 2018):
Surely. Will implement that soon (when get some free cycles =)
@stokito commented on GitHub (Oct 30, 2018):
@eustas thank you. Also please note that gzip, uncompress, bzip2, lzip, lzma, xz, lzop compressors usually prints an output to
stderrinstead ofstdoutbutrarand7zipprints tostdout.So I'm not sure what is a correct behavior but please implement according to some standard de-facto i.e. stderr.
@eustas commented on GitHub (Oct 30, 2018):
Currently CLI prints something to
stdoutonly for--helpand--version, i.e. when user directly requested some output.For "verbose" + "test" options
stderrseems to be the only right destination, to make it consistent with other "verbose" outputs.@eustas commented on GitHub (Dec 15, 2021):
I think it is fixed now: