mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 16:36:38 +00:00
Merge pull request #3169 from Kvasscn/kata_dev_add_install_go_help
packaging: add help information for '-f' option in install_go.sh
This commit is contained in:
@@ -41,6 +41,8 @@ ${script_name}
|
||||
|
||||
Options
|
||||
-d <path> : 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}" ;;
|
||||
|
Reference in New Issue
Block a user