Skip to content

broken output with zstd --decompress --quiet #2967

@eworm-de

Description

@eworm-de

Describe the bug

Decompressing with --quiet breaks output:

$ zstd --decompress --quiet test.zst
test.zst             : 0 B...     %

Note this is missing a newline, the % is appended by zsh.

To Reproduce

Steps to reproduce the behavior:

  1. echo | zstd > test.zst
  2. zstd --decompress --quiet test.zst

Expected behavior

Giving --quiet should not give broken progress output.

Additional context

This broke with d2f31b6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions