mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 04:04:45 +00:00
packaging: add help information for '-f' option in install_go.sh
add help info for force install, and remove unused '-p' option. Fixes: #3168 Signed-off-by: zhanghj <zhanghj.lc@inspur.com>
This commit is contained in:
parent
3992d28f00
commit
1e6f58e562
@ -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}" ;;
|
||||
|
Loading…
Reference in New Issue
Block a user