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

Max length of help output? #540

Closed
endquote opened this issue May 18, 2016 · 8 comments
Closed

Max length of help output? #540

endquote opened this issue May 18, 2016 · 8 comments

Comments

@endquote
Copy link

I have a tool with a fair number of arguments and subcommands, and the help is getting cut off.

screenshot 2016-05-18 11 19 11

https://github.com/endquote/laundry

@zhiyelee
Copy link
Collaborator

in node v6? #530

@endquote
Copy link
Author

6.1.0...

@creeperyang
Copy link

Cut off +1, node v6.2 and command v2.9.0.

2016-06-14 4 04 12

@GCheung55
Copy link

Cut off here as well. node v6.1.0 and commander v2.9.0.

@tyge68
Copy link

tyge68 commented Aug 23, 2016

I have the same issue with node 6.2.0 and commander 2.9.0

@tyge68
Copy link

tyge68 commented Sep 15, 2016

It appear that the cut off is due to the program.exit(0) which doesn't give time for the stdout.write operation to complete. Similar issue have been reported. So most likely the implementation should avoid to force exit, instead it should end in a normal flow without this call.

tyge68 added a commit to tyge68/commander.js that referenced this issue Sep 18, 2016
@shadowspawn
Copy link
Collaborator

The comments in #540 suggest this was fixed in node 6.6.0.

This issue has not had any activity in over six months. It isn't likely to get acted on due to this report.

Feel free to open a new issue if it comes up again, with new information and renewed interest.

Thank you for your contributions.

@shadowspawn
Copy link
Collaborator

Future readers: this may still be an issue on Windows TTY which are asynchronous according to:

Please open a new issue if you are seeing truncated help.

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

No branches or pull requests

6 participants