find: use GNU wording "unknown predicate" for unrecognized args by sylvestre · Pull Request #724 · uutils/findutils · GitHub
Skip to content

find: use GNU wording "unknown predicate" for unrecognized args#724

Draft
sylvestre wants to merge 1 commit into
mainfrom
find-unknown-predicate-message
Draft

find: use GNU wording "unknown predicate" for unrecognized args#724
sylvestre wants to merge 1 commit into
mainfrom
find-unknown-predicate-message

Conversation

@sylvestre

Copy link
Copy Markdown
Contributor

GNU find rejects an unrecognized predicate with
"find: unknown predicate ''", but we printed
"find: Unrecognized flag: ''". Match GNU so the tests/find/refuse-noop GNU test (and others hitting the same path) pass. Add an integration test covering -noop and ---noop.

GNU find rejects an unrecognized predicate with
"find: unknown predicate '<arg>'", but we printed
"find: Unrecognized flag: '<arg>'". Match GNU so the
tests/find/refuse-noop GNU test (and others hitting the same path)
pass. Add an integration test covering -noop and ---noop.
@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

@codspeed-hq

codspeed-hq Bot commented Jun 9, 2026

Copy link
Copy Markdown

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.

1 participant