Skip to content

Conversation

@AnarchistHoneybun
Copy link
Contributor

  • Fix all hashsum utilities (md5sum, b2sum, sha256sum, etc.) to show correct utility name in help
  • Previously showed 'Usage: hashsum --' instead of 'Usage: md5sum [OPTION]...'

Fixes #8614

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)

@sylvestre
Copy link
Contributor

Could you please add a test to make sure we don't regress in the future? Thanks

@AnarchistHoneybun AnarchistHoneybun force-pushed the bug/hashsum-help-name branch 3 times, most recently from a10c14e to 7ed73f7 Compare September 17, 2025 07:42
@github-actions
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@github-actions
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@AnarchistHoneybun
Copy link
Contributor Author

@sylvestre is there a plan to merge this? Just worried about having to add any changes from main to this branch as well if they're kept apart long

Fix all hashsum utilities (md5sum, b2sum, sha256sum, etc.) to display
their actual name in help output instead of generic 'hashsum --<digest>'.

Override help_template and usage for specific utilities while preserving
the original hashsum behavior for the generic multicall case.

Add test to verify help output shows correct utility names and prevent
future regression.

Fixes uutils#8614
@codspeed-hq
Copy link

codspeed-hq bot commented Sep 21, 2025

CodSpeed Performance Report

Merging #8650 will create unknown performance changes

Comparing AnarchistHoneybun:bug/hashsum-help-name (58a04bf) with main (0ccc67f)

Summary

⚠️ No benchmarks were detected in both the base of the PR and the PR.\

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@sylvestre sylvestre merged commit 7bca02c into uutils:main Sep 21, 2025
98 checks passed
@sylvestre
Copy link
Contributor

thanks! :)

ThePseudo pushed a commit to ThePseudo/coreutils that referenced this pull request Sep 22, 2025
Fix all hashsum utilities (md5sum, b2sum, sha256sum, etc.) to display
their actual name in help output instead of generic 'hashsum --<digest>'.

Override help_template and usage for specific utilities while preserving
the original hashsum behavior for the generic multicall case.

Add test to verify help output shows correct utility names and prevent
future regression.

Fixes uutils#8614
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0.2.2: All hashsum (b2sum,md5sum etc.) programs report hashsum in --help switch on multicall binary

2 participants