Skip to content

Don't wrap usage to 80 columns #3

Open
@BretJohnson

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions