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

managen: wordwrap long example lines in ASCII output #14543

Closed
wants to merge 5 commits into from

Conversation

bagder
Copy link
Member

@bagder bagder commented Aug 14, 2024

The entire ASCII version of the manpage word wraps at a fixed column, while example command lines can easily go wider than so.

This change now makes manage work on wrapping long example command lines to make them look nicer. And also to avoid triggering the build error caused by too long lines in the output.

@bagder bagder added the script label Aug 14, 2024
bagder added a commit that referenced this pull request Aug 15, 2024
The entire ASCII version of the manpage word wraps at a fixed column,
while example command lines can easily go wider than so.

This change now makes manage work on wrapping long example command lines
to make them look nicer. And also to avoid triggering the build error
caused by too long lines in the output.

Closes #14543
@bagder bagder force-pushed the bagder/manage-narrow-examples branch from c5e05ab to 77c3458 Compare August 15, 2024 06:56
The entire ASCII version of the manpage word wraps at a fixed column,
while example command lines can easily go wider than so.

This change now makes manage work on wrapping long example command lines
to make them look nicer. And also to avoid triggering the build error
caused by too long lines in the output.

Closes #14543
@bagder bagder force-pushed the bagder/manage-narrow-examples branch from 77c3458 to 4479dd6 Compare August 15, 2024 16:51
To be sure the output looks good.
... since quoted lines aren't wrapped: warn.

Fix a few violations

Removed the 'maxline' script.
@github-actions github-actions bot added the tests label Aug 15, 2024
@bagder bagder closed this in 0066d16 Aug 16, 2024
@bagder bagder deleted the bagder/manage-narrow-examples branch August 16, 2024 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant