diff --git a/tools/packaging/static-build/shim-v2/install_go.sh b/tools/packaging/static-build/shim-v2/install_go.sh index 653b9ad412..b70fa2eeb2 100755 --- a/tools/packaging/static-build/shim-v2/install_go.sh +++ b/tools/packaging/static-build/shim-v2/install_go.sh @@ -41,6 +41,8 @@ ${script_name} Options -d : destination path, path where go will be installed. +-f : enable force install, remove existent go pkg before installation. +-h : display this help. EOT exit "$exit_code" @@ -50,7 +52,7 @@ trap finish EXIT pushd "${tmp_dir}" -while getopts "d:fhp" opt +while getopts "d:fh" opt do case $opt in d) install_dest="${OPTARG}" ;;