add usage help

This commit is contained in:
gb 2023-07-26 09:28:30 +08:00
parent 5d81e07d15
commit dd7a32b26b
1 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,12 @@
# usage: build.sh oem os password twain # usage: build.sh oem os password twain
# the last parameter 'twain' is optional for building twain-ui, added on 2023-07-18 # the last parameter 'twain' is optional for building twain-ui, added on 2023-07-18
if [ "${1}" == "?" ] || [ "${1}" == "--?" ] || [ "${1}" == "--help" ]; then
echo " usage: "build.sh oem os password-of-this-machine
echo
exit
fi
oem=$1 #厂商 oem=$1 #厂商
password="hg123123" #电脑密码 password="hg123123" #电脑密码
cpu=$(arch) #cpu架构 cpu=$(arch) #cpu架构