hashsum: fix help text to show actual utility name#8650
Merged
sylvestre merged 2 commits intouutils:mainfrom Sep 21, 2025
Merged
hashsum: fix help text to show actual utility name#8650sylvestre merged 2 commits intouutils:mainfrom
sylvestre merged 2 commits intouutils:mainfrom
Conversation
0c69a56 to
3340c36
Compare
|
GNU testsuite comparison: |
sylvestre
reviewed
Sep 17, 2025
Contributor
|
Could you please add a test to make sure we don't regress in the future? Thanks |
a10c14e to
7ed73f7
Compare
|
GNU testsuite comparison: |
7ed73f7 to
e7b7120
Compare
|
GNU testsuite comparison: |
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 |
sylvestre
reviewed
Sep 21, 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
e7b7120 to
ccb0a15
Compare
CodSpeed Performance ReportMerging #8650 will create unknown performance changesComparing Summary
|
|
GNU testsuite comparison: |
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #8614