Skip to content

--all-but <VERSIONS> syntax is not explained #18707

Closed

Description

@v-radelg

@smuehlst commented 1 hour ago

There is no description of the form in which you have to specify if you want to specify several versions:

--all-but

Removes all .NET Core SDKs and runtimes, except those versions specified.

It doesn't work to separate the versions with commas:

dotnet-core-uninstall dry-run --all-but 2.1.514,2.1.202 --sdk
The specified version is not valid: "2.1.514,2.1.202".


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Activity

  1. sfoslund commented on Jun 1, 2020

    @sfoslund
    Member

    The format for specifying multiple versions is detailed in the VERSION argument description. I'm not sure it's worth adding this note in every option description, but it might make sense to make it more visible.

  2. smuehlst commented on Jun 2, 2020

    @smuehlst

    I see. The confusion on my side then came from the fact that I was looking for an explanation of the VERSIONS argument, while the explanation can be found under the VERSION argument description. So in my view it would be better to list the option as --all-but <VERSION>.

  3. Thraka commented on Jun 4, 2020

    @Thraka
    Contributor

    I think the syntax for VERSION should be clearer --all-but <VERSION>[,<VERSION>...] what is the delimiter for example?

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions