Minor presentation tweaks.

This commit is contained in:
Marco Vermeulen
2020-12-05 09:45:35 +00:00
parent 49a73bb3fe
commit c4057ce390
2 changed files with 6 additions and 3 deletions

View File

@@ -88,9 +88,10 @@ function __sdkman_determine_version() {
__sdkman_echo_red " * $version is an invalid version"
__sdkman_echo_red " * $candidate binaries are incompatible with $SDKMAN_PLATFORM"
__sdkman_echo_red " * $candidate has not been released yet"
echo ""
__sdkman_echo_yellow "Tip: see all available versions for your platform:"
__sdkman_echo_yellow "$ sdk list $candidate"
echo ""
__sdkman_echo_yellow " $ sdk list $candidate"
return 1
fi
fi

View File

@@ -110,7 +110,9 @@ function sdk() {
# couldn't find the command
if [[ -z "$CMD_FOUND" ]]; then
echo "Invalid command: $COMMAND"
echo ""
__sdkman_echo_red "Invalid command: $COMMAND"
echo ""
__sdk_help
fi