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

Closed
opened 2026-03-02 17:03:03 -06:00 by unterkomplex · 0 comments
unterkomplex commented 2026-03-02 17:03:03 -06:00 (Migrated from github.com)

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

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
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Cyan4973/xxHash#1098
No description provided.