Skip to content

cp: let clap render help & version#8199

Merged
sylvestre merged 2 commits intouutils:mainfrom
cakebaker:cp_let_clap_render_help_and_version
Jun 16, 2025
Merged

cp: let clap render help & version#8199
sylvestre merged 2 commits intouutils:mainfrom
cakebaker:cp_let_clap_render_help_and_version

Conversation

@cakebaker
Copy link
Contributor

@cakebaker cakebaker commented Jun 16, 2025

This PR removes the manual calls of print_help() and render_version() and let's clap do this job. It also uses get_many instead of remove_many to keep matches non-mutable.

@github-actions
Copy link

GNU testsuite comparison:

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

@sylvestre sylvestre merged commit bcb76ac into uutils:main Jun 16, 2025
75 checks passed
@cakebaker cakebaker deleted the cp_let_clap_render_help_and_version branch June 17, 2025 05:48
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