Skip to content

fix(formatting): separate wrapped constraints from option lists#208

Merged
janluke merged 1 commit into
janluke:masterfrom
trungminhdo4-glitch:fix/constraint-help-rendering-182-clean
Jul 21, 2026
Merged

fix(formatting): separate wrapped constraints from option lists#208
janluke merged 1 commit into
janluke:masterfrom
trungminhdo4-glitch:fix/constraint-help-rendering-182-clean

Conversation

@trungminhdo4-glitch

Copy link
Copy Markdown
Contributor

Fixes #182

Problem

Long option-group constraint descriptions are rendered as a block directly
above the option definitions. Without spacing, the last wrapped line can
look like part of the option list.

Change

Add one blank line between a block-rendered constraint and the following
section content. Constraints that fit inline beside the heading are unchanged.

Tests

  • Updated focused formatter coverage for wrapped constraint spacing.
  • Full test suite: 328 passed, 44 warnings, 0 failed.

Compatibility

No API changes. Output changes only for constraints rendered below the
section heading.

AI assistance

AI-assisted tools were used for repository analysis and test drafting.
I reviewed the final diff, reproduced the issue locally, and ran the full
test suite.

Base: 7eba003

@janluke

janluke commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Thanks!

@janluke
janluke merged commit 278a7a1 into janluke:master Jul 21, 2026
10 checks passed
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.

Suboptimal rendering of constraints in help output

2 participants