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

Limit help line length #674

Closed
vbogretsov opened this issue Oct 22, 2017 · 4 comments
Closed

Limit help line length #674

vbogretsov opened this issue Oct 22, 2017 · 4 comments
Assignees
Labels
area/v2 relates to / is being considered for v2 kind/feature describes a code enhancement / feature request status/claimed someone has claimed this issue
Milestone

Comments

@vbogretsov
Copy link

Hello,

Is there a way to limit the help line length and automatically split help of an argument
or a command on multiple lines with the correct indentation?

@jszwedko
Copy link
Contributor

Hi @vbogretsov,

No, not currently, though it would be a good enhancement. I'll make this as such. Thanks for bringing it up!

@jszwedko jszwedko added kind/feature describes a code enhancement / feature request help wanted please help if you can! labels Oct 22, 2017
@meatballhat meatballhat self-assigned this Feb 25, 2018
@asahasrabuddhe asahasrabuddhe self-assigned this Aug 5, 2019
@coilysiren coilysiren added status/claimed someone has claimed this issue and removed help wanted please help if you can! labels Aug 29, 2019
@coilysiren coilysiren added the area/v2 relates to / is being considered for v2 label Nov 27, 2019
@stale
Copy link

stale bot commented Feb 25, 2020

This issue or PR has been automatically marked as stale because it has not had recent activity. Please add a comment bumping this if you're still interested in it's resolution! Thanks for your help, please let us know if you need anything else.

@stale stale bot added the status/stale stale due to the age of it's last update label Feb 25, 2020
@stale
Copy link

stale bot commented Mar 26, 2020

Closing this as it has become stale.

@mostynb
Copy link
Contributor

mostynb commented Oct 21, 2022

I added line-wrapping support in #287, but the terminal's width detection is not automatic (to avoid adding new dependencies/adding binary size). Here's an example of how client code can specify the line-wrap length: https://github.com/urfave/cli/pull/1119/files#diff-4d3f36d62cad94424544bb84fc93b33b73ffe3491a4ddca81a7f825539afc19cR1161-R1169

So I think we can close this now.

@mostynb mostynb closed this as completed Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/v2 relates to / is being considered for v2 kind/feature describes a code enhancement / feature request status/claimed someone has claimed this issue
Projects
None yet
Development

No branches or pull requests

6 participants