mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-04-17 13:38:03 -04:00
Home dir: Move documentation comment into home src
This commit is contained in:
committed by
Marco Vermeulen
parent
d284d98918
commit
e1da905871
@@ -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