mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-06-07 23:37:27 -04:00
Home dir: Move documentation comment into home src
This commit is contained in:
committed by
Marco Vermeulen
parent
ebe30b3233
commit
d293e2b3dc
@@ -16,6 +16,12 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
#
|
||||
# Print home directory
|
||||
# Printing the home directory does not require reaching out to the internet.
|
||||
# Printing the home directory also has the hard requirment of not printing
|
||||
# anything else unless it is an actual error.
|
||||
#
|
||||
function __sdk_home {
|
||||
local candidate version
|
||||
|
||||
|
||||
@@ -48,12 +48,6 @@ function sdk {
|
||||
COMMAND="home";;
|
||||
esac
|
||||
|
||||
#
|
||||
# Print home directory - special case
|
||||
# Printing the home directory does not require reaching out to the internet.
|
||||
# Printing the home directory also has the hard requirment of not printing
|
||||
# anything else unless it is an actual error
|
||||
#
|
||||
if [[ "$COMMAND" == "home" ]]; then
|
||||
__sdk_home "$QUALIFIER" "$3"
|
||||
return $?
|
||||
|
||||
Reference in New Issue
Block a user