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

better handling of long parameter names in the default formatter #72

Open
stevenklassen8376 opened this issue Sep 6, 2019 · 0 comments

Comments

@stevenklassen8376
Copy link

We have a case where we have some really long parameter names, which in the default formatting wraps all the descriptions into a single column. We work around this by specifying 120 columns, but a better solution would be if the formatter recognized that the names were over some threshold and then placed the description on the next line. So instead of the following:

required arguments:
  --messaging-internal-format-uri MESSAGING_INTERNAL_FORMAT_URI                     Uri to publish messages in the
                                                                                    internal format. e.g.
                                                                                    rabbit://user:pass@localhost:5672
                                                                                    ?exchange=some-name

  --messaging-internal-format-with-raw-uri MESSAGING_INTERNAL_FORMAT_WITH_RAW_URI   Uri to publish messages in the
                                                                                    internal format plus the raw
                                                                                    message. e.g.
                                                                                    rabbit://user:pass@localhost:5672
                                                                                    ?exchange=some-other-name

It could look like the following:

required arguments:
  --messaging-internal-format-uri MESSAGING_INTERNAL_FORMAT_URI                     
        Uri to publish messages in the internal format. e.g.
        rabbit://user:pass@localhost:5672?exchange=some-name

  --messaging-internal-format-with-raw-uri MESSAGING_INTERNAL_FORMAT_WITH_RAW_URI   
        Uri to publish messages in the internal format plus the raw message. e.g.
        rabbit://user:pass@localhost:5672?exchange=some-other-name
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

1 participant