Skip to content

Conversation

BenWiederhake
Copy link
Collaborator

This PR fixes argument-parsing for id, in particular:

  • All arguments can now be repeated (this makes sense for all of them; I checked.)
  • -p and -P both take control of the output format, so it does not make sense to specify both of them.

This is work toward #5998.

These are non-sensical to combine, and didn't work reasonably anyway.
Also, passwd-formatting is our own extension, so there is no need for
compatibility anyway.
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)

@BenWiederhake
Copy link
Collaborator Author

Only CI failure is a known flake: #6275

@cakebaker cakebaker changed the title id: Handle repeated flags, recognize confliect between pretty-print and passwd file-entry id: Handle repeated flags, recognize conflict between pretty-print and passwd file-entry Apr 29, 2024
@cakebaker cakebaker merged commit 5fbc588 into uutils:main Apr 29, 2024
@cakebaker
Copy link
Contributor

Thanks!

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.

2 participants