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

stat: Output error when - and -f are used together. #5144

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

Skryptonyte
Copy link
Contributor

Currently, stat does not complain about it but GNU stat does not allow this.

This PR also fixes the test case tests/misc/stat-hyphen.sh which tests exactly this usage.

@github-actions
Copy link

github-actions bot commented Aug 9, 2023

GNU testsuite comparison:

Congrats! The gnu test tests/misc/stat-hyphen is no longer failing!

@Skryptonyte Skryptonyte force-pushed the stat_hyphen_fix branch 2 times, most recently from b0452cb to 4143859 Compare August 10, 2023 10:39
@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/misc/stat-hyphen is no longer failing!

@cakebaker cakebaker merged commit a8b6e50 into uutils:main Aug 10, 2023
@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.

2 participants