Skip to content

feat(elf): accept --error-limit natively (reld#123 Phase 2) - #146

Merged
zackees merged 1 commit into
mainfrom
phase2-error-limit
Sep 16, 2026
Merged

zackees merged 1 commit into
mainfrom
phase2-error-limit

Conversation

@zackees

@zackees zackees commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

What

Completes the reld#123 Phase 2 diagnostics-plumbing quartet by accepting --error-limit=N natively.

It was previously an "unrecognized option" error. It's satisfied by construction — reld reports at most one error before aborting, so any positive limit already holds — so it's accepted as a no-op and recorded SatisfiedByConstruction in the flag table.

Verification

  • cargo test -p reld-core --lib — 202 pass.
  • cargo clippy -p reld-core --all-targets -- -D warnings — clean.
  • cargo fmt --check — clean.

🤖 Generated with Claude Code

`--error-limit=N` is satisfied by construction: reld reports at most one error
before aborting, so any positive limit already holds. Accept it natively
(previously an "unrecognized option" error) and record it in the flag table.

Completes the Phase 2 diagnostics-plumbing quartet (--fatal-warnings,
--color-diagnostics, --no-warnings, --error-limit).

Co-Authored-By: Claude Code <[email protected]>
@zackees
zackees merged commit 01d639b into main Sep 16, 2026
17 checks passed
@zackees
zackees deleted the phase2-error-limit branch September 16, 2026 22:26
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