Skip to content

Bug: sdk default command usage details incorrect #282

@chegancasb

Description

@chegancasb

Bug report
When executing sdk default java I get an error indicating that version is mandatory but when executing sdk help default the shown usage states: The optional version qualifier sets that specific version as default for all subsequent shells on the local environment. Omitting the version will set the global SDKMAN tracked version as the default version for that candidate.

To reproduce
Execute sdk default java returns an error

System info
OS: MacOS 14.7.1 (23H222)
Shell: zsh 5.9 (x86_64-apple-darwin23.0)
SDK Version: script: 5.18.2. native: 0.4.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions