devlooped / dotnet-vs

A global tool for managing Visual Studio installations
https://clarius.org/dotnet-vs
MIT License
49 stars 7 forks source link

Don't wrap usage to 80 columns #3

Open BretJohnson opened 4 years ago

BretJohnson commented 4 years ago

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

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 commented 4 years ago

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