Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cp: improve error msg if -r is not specified #5555

Merged
merged 1 commit into from Nov 24, 2023

Conversation

cakebaker
Copy link
Contributor

This PR improves the error message when trying to call cp source_dir target_dir from omitting directory 'source_dir' to -r not specified; omitting directory 'source_dir' (the same message shown by GNU cp).

@uutils uutils deleted a comment from github-actions bot Nov 19, 2023
@sylvestre
Copy link
Sponsor Contributor

is it possible to add a test to verify the error message? thanks

@uutils uutils deleted a comment from github-actions bot Nov 20, 2023
@sylvestre sylvestre merged commit 64d4773 into uutils:main Nov 24, 2023
49 of 52 checks passed
@cakebaker cakebaker deleted the cp_adapt_omitting_dir_msg branch November 25, 2023 06:00
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.

None yet

2 participants