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

Indent "Workload ID aliases:" header #4

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

Indent "Workload ID aliases:" header #4

BretJohnson opened this issue Feb 18, 2020 · 1 comment

Comments

@BretJohnson
Copy link

BretJohnson commented Feb 18, 2020

The workload ID options appear to be be duplicated in the usage message below. At least, that's what I thought at first before realizing that they apply to the install and run commands separately.

I think it may look better adding 6 spaces indent before the Wordload ID aliases: header text, so it's indented the same as the other options. That way it doesn't appear like the a separate group.

You could also move the workload IDs to a separate section, and no longer list twice, but I think the indent is probably enough here.

Usage: vs [command] [options]
::install::
      --pre, --preview       Install preview version
      --int, --internal      Install internal (aka 'dogfood') version
      --sku[=VALUE]          Edition, one of [e|ent|enterprise], [p|pro|
                               professional] or [c|com|community]. Defaults to '
                               community'.
Workload ID aliases:
      --mobile               --add Microsoft.VisualStudio.Workload.NetCrossPlat
      --xamarin              --add Microsoft.VisualStudio.Workload.NetCrossPlat
      --core                 --add Microsoft.VisualStudio.Workload.NetCoreTools
      --azure                --add Microsoft.VisualStudio.Workload.Azure
      --data                 --add Microsoft.VisualStudio.Workload.Data
      --desktop              --add Microsoft.VisualStudio.Workload.
                               ManagedDesktop
      --unity                --add Microsoft.VisualStudio.Workload.ManagedGame
      --native               --add Microsoft.VisualStudio.Workload.NativeDesktop
      --web                  --add Microsoft.VisualStudio.Workload.NetWeb
      --node                 --add Microsoft.VisualStudio.Workload.Node
      --office               --add Microsoft.VisualStudio.Workload.Office
      --python               --add Microsoft.VisualStudio.Workload.Python
      --uwp                  --add Microsoft.VisualStudio.Workload.Universal
      --vsx                  --add Microsoft.VisualStudio.Workload.
                               VisualStudioExtension
  -?, -h, --help             Display this help

::run::
      --pre, --preview       Run preview version
      --int, --internal      Run internal (aka 'dogfood') version
      --sku[=VALUE]          Run specific edition. One of [e|ent|enterprise], [
                               p|pro|professional] or [c|com|community].
      --id[=VALUE]           Run a specific instance by its ID
  -f, --first[=VALUE]        If more than one instance matches the criteria,
                               run the first one sorted by descending build
                               version.
  -v, --version[=VALUE]      Run specific (semantic) version, such as 16.4 or
                               16.5.3.
  -w, --wait                 Wait for the started Visual Studio to exit.
Workload ID aliases:
      --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
      --desktop              -requires Microsoft.VisualStudio.Workload.
                               ManagedDesktop
      --unity                -requires Microsoft.VisualStudio.Workload.
                               ManagedGame
      --native               -requires Microsoft.VisualStudio.Workload.
                               NativeDesktop
      --web                  -requires Microsoft.VisualStudio.Workload.NetWeb
      --node                 -requires Microsoft.VisualStudio.Workload.Node
      --office               -requires Microsoft.VisualStudio.Workload.Office
      --python               -requires Microsoft.VisualStudio.Workload.Python
      --uwp                  -requires Microsoft.VisualStudio.Workload.Universal
      --vsx                  -requires Microsoft.VisualStudio.Workload.
                               VisualStudioExtension
  -?, -h, --help             Display this help

Back this issue
Back this issue

@kzu
Copy link
Member

kzu commented Feb 18, 2020

Suggestion to indent the worload Id header by 6 spaces seems the easiest and effective way to improve this

@kzu kzu closed this as completed in 32cba8f Feb 18, 2020
@devlooped devlooped locked and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants