Skip to content

Keep wrapping after an unbreakable usage word - #503

Merged
tomasaschan merged 1 commit into
spf13:masterfrom
AzazelSensei:fix/wrapn-unbreakable-word
Sep 6, 2026
Merged

Keep wrapping after an unbreakable usage word#503
tomasaschan merged 1 commit into
spf13:masterfrom
AzazelSensei:fix/wrapn-unbreakable-word

Conversation

@AzazelSensei

Copy link
Copy Markdown

FlagUsagesWrapped gave up on the rest of the string when a word was wider than the column. wrapN now emits that word on its own line and keeps wrapping after it.

Fixes #501

FlagUsagesWrapped dumped the rest of the string on one line
when a word was wider than the description column. Emit that
word alone and continue wrapping.
@CLAassistant

CLAassistant commented Aug 13, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@AzazelSensei

Copy link
Copy Markdown
Author

Closing. Silence this long usually means the work isn't wanted. Fine.

@tomasaschan

Copy link
Copy Markdown
Collaborator

I'm sorry I haven't had a chance to review this yet. This project is not at the top of my todo list, and time is limited. That does not mean I won't get to it, just that I haven't yet.

@tomasaschan tomasaschan reopened this Sep 5, 2026
@tomasaschan
tomasaschan merged commit 161f35a into spf13:master Sep 6, 2026
15 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.

FlagUsagesWrapped stops wrapping the rest of a usage string after a word wider than the description column

3 participants