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

Don't wrap usage to 80 columns #3

Open
BretJohnson opened this issue Feb 18, 2020 · 1 comment
Open

Don't wrap usage to 80 columns #3

BretJohnson opened this issue Feb 18, 2020 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@BretJohnson
Copy link

BretJohnson commented Feb 18, 2020

Wrapping the usage message at 80 columns has a few downsides:

  • It's inconsistent with the vswhere options, which wrap explicitly at sentence breaks and go as far as 105 columns currently.
  • It looks a little funny with some of the descriptions wrapped aggressively, like the workload IDs below.

I'd suggest wrapping at maybe 100 or possibly 120 characters. Can see how that looks.
Could also not wrap at all automatically and add explicit line breaks in the option description, if that's not too hard, like vswhere behaves.

      --sku[=VALUE]          Edition, one of [e|ent|enterprise], [p|pro|
                               professional] or [c|com|community]. Defaults to '
                               community'.
      --mobile               -requires Microsoft.VisualStudio.Workload.
                               NetCrossPlat
      --xamarin              -requires Microsoft.VisualStudio.Workload.
                               NetCrossPlat
      --core                 -requires Microsoft.VisualStudio.Workload.
                               NetCoreTools
      --azure                -requires Microsoft.VisualStudio.Workload.Azure
      --data                 -requires Microsoft.VisualStudio.Workload.Data

Back this issue
Back this issue

@kzu
Copy link
Member

kzu commented Feb 18, 2020

This one is quite tricky since mono.options does the wrapping itself and it doesn't look customizable at all :/

@kzu kzu added the help wanted Extra attention is needed label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants