Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Enhancement] Write command descriptions on new lines #180

Closed
KwatMDPhD opened this issue Feb 15, 2022 · 1 comment
Closed

[Enhancement] Write command descriptions on new lines #180

KwatMDPhD opened this issue Feb 15, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@KwatMDPhD
Copy link
Member

Screen Shot 2022-02-12 at 10 44 19

The narrow window makes it look like the descriptions are on the 2nd line. But this is kind of nice. If the descriptions are written on their own lines, then there can be no limit to the length of descriptions.

Something like write(indent.(descriptionlines)).

@KwatMDPhD KwatMDPhD added the bug Something isn't working label Feb 15, 2022
@Roger-luo Roger-luo added enhancement New feature or request and removed bug Something isn't working labels Feb 15, 2022
@Roger-luo
Copy link
Collaborator

so I think having the description in new lines is a good idea but still not ideal since you can have a very long signature that needs multiple lines to print. So I think there are two things here:

  • don't print verbose argument list in upper level help msg, and only print mycommand <args>
  • print long command name's help message in new lines (basically that man uses)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants