Skip to content

whoami: fix usage line for unexpected arguments#11159

Merged
cakebaker merged 1 commit intouutils:mainfrom
YuF-9468:fix-whoami-usage-name
Feb 28, 2026
Merged

whoami: fix usage line for unexpected arguments#11159
cakebaker merged 1 commit intouutils:mainfrom
YuF-9468:fix-whoami-usage-name

Conversation

@YuF-9468
Copy link

Summary

  • fix whoami clap usage override to use a localized key instead of util name
  • add whoami-usage = whoami in en-US and fr-FR locale files

Fixes #11155

Testing

  • Could not run local Rust checks in this environment because cargo is not installed.
  • Change mirrors the existing accepted pattern used in similar utils (e.g. logname).

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/date/resolution (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/tail/symlink (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/misc/io-errors is no longer failing!
Congrats! The gnu test tests/timeout/timeout-group is no longer failing!
Congrats! The gnu test tests/tail/tail-n0f is now passing!

@oech3
Copy link
Contributor

oech3 commented Feb 28, 2026

Please install cargo.

@cakebaker cakebaker merged commit db77abe into uutils:main Feb 28, 2026
159 of 160 checks passed
@cakebaker
Copy link
Contributor

Thanks for your PR!

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.

whoami --typo shows whoami-usage instead of whoami

3 participants