Home dir: Move documentation comment into home src

This commit is contained in:
Erik Zivkovic
2020-03-10 12:13:19 +01:00
committed by Marco Vermeulen
parent d284d98918
commit e1da905871
2 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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 $?