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
Bug report
When executing
sdk default javaI get an error indicating that version is mandatory but when executingsdk help defaultthe 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 javareturns an errorSystem 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