Skip to content

--quiet is not quiet if passed as last argument #1098

@unterkomplex

Description

@unterkomplex

Hi,

Just noticed some weird behavior. The --quiet option is ignored if it is passed after the --check option

Below I ran --quiet -c checksums/chk.xxhash first
Output was as expected (quiet with no OK lines

Then I ran -c --quiet and it was not quiet

user@fedora ~> xxhsum --version
xxhsum 0.8.3 by Yann Collet
compiled as 64-bit x86 autoVec (AVX2 detected) little endian with GCC 15.1.1 20250521 (Red Hat 15.1.1-2)
user@fedora ~> xxhsum --quiet -c checksums/chk.xxhash
^C
user@fedora ~> xxhsum -c checksums/chk.xxhash --quiet
many lines ending with OK

System is Fedora latest with xxhash from official repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions