Skip to content

coreutils: --list arg and no args should fail#11385

Open
oech3 wants to merge 1 commit intouutils:mainfrom
oech3:list-help
Open

coreutils: --list arg and no args should fail#11385
oech3 wants to merge 1 commit intouutils:mainfrom
oech3:list-help

Conversation

@oech3
Copy link
Contributor

@oech3 oech3 commented Mar 18, 2026

@oech3 oech3 changed the title coreutils: --list and no args should fail coreutils: --list arg and no args should fail Mar 18, 2026
@oech3 oech3 force-pushed the list-help branch 3 times, most recently from 2818cfe to 0a3d769 Compare March 18, 2026 16:18
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 18, 2026

Merging this PR will not alter performance

✅ 298 untouched benchmarks
⏩ 48 skipped benchmarks1


Comparing oech3:list-help (48aec6f) with main (0b437e9)

Open in CodSpeed

Footnotes

  1. 48 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@oech3 oech3 force-pushed the list-help branch 4 times, most recently from 56ac42f to 7a57902 Compare March 18, 2026 16:51
@oech3 oech3 marked this pull request as ready for review March 18, 2026 17:51
@github-actions
Copy link

GNU testsuite comparison:

GNU test failed: tests/misc/io-errors. tests/misc/io-errors is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/rm/isatty. tests/rm/isatty is passing on 'main'. Maybe you have to rebase?
Note: The gnu test tests/cut/cut-huge-range is now being skipped but was previously passing.
Congrats! The gnu test tests/basenc/bounded-memory is now passing!
Congrats! The gnu test tests/dd/no-allocate is now passing!
Congrats! The gnu test tests/unexpand/bounded-memory is now passing!

@oech3 oech3 force-pushed the list-help branch 2 times, most recently from bed8999 to d80355e Compare March 19, 2026 01:16
@github-actions
Copy link

GNU testsuite comparison:

Note: The gnu test tests/tail/tail-n0f is now being skipped but was previously passing.
Congrats! The gnu test tests/basenc/bounded-memory is now passing!
Congrats! The gnu test tests/dd/no-allocate is now passing!
Congrats! The gnu test tests/unexpand/bounded-memory is now passing!

@GunterSchmidt
Copy link

Should we not even simplify more, just allow either one of --help, --version or --list and throw an error if any additional arguments are passed? Why allow --list --help and then give help?

@oech3
Copy link
Contributor Author

oech3 commented Mar 19, 2026

GNU allows --help --version and --version --help.

@oech3 oech3 force-pushed the list-help branch 2 times, most recently from 61c02df to 48aec6f Compare March 19, 2026 13:46
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.

coreutils: --list --help is not compatible with busybox

2 participants